Solved

error perl

Posted on 2006-11-04
8
321 Views
Last Modified: 2008-01-09
when i run my perl code i get error:

ld.so.1: perl: fatal: relocation error: file /blah....../Expat/Expat.so: symbol     Perl_safemalloc: referenced symbol not found
Killed
0
Comment
Question by:perlperl
8 Comments
 
LVL 6

Expert Comment

by:tone28
ID: 17873353
I would reinstall perl and it's modules.
0
 

Author Comment

by:perlperl
ID: 17873361
what could be the reason..it was working untill yesterday
0
 
LVL 6

Expert Comment

by:tone28
ID: 17873607
It is hard to tell. Did anything interesting happen yesterday? Install anything new?

What version of perl do you have?

What operating system are you running it on?

0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17873896
You have an upgrade Yesterday(?) which broken some dll dependencies.
Propably You have installed some perl modules by hand, and now they need to be reinstalled(recompiled) again.
> /blah....../Expat/Expat.so
If You resolve the blah, we could tell You whether perl, or some module, or some library needs to be reinstalled.
Also tell us what linux distro...
0
 
LVL 17

Accepted Solution

by:
mjcoyne earned 500 total points
ID: 17873940
Expat is an XML 1.0 parser written in C (see http://expat.sourceforge.net/).  It is probable that your Linux distro was auto-updated by yum or apt or some such utility, resulting in a version mismatch (perhaps also resulting in a 32-bit/64-bit mismatch on the C libraries).

Does the Perl code that throws the error rely on XML::Parser?

I would re-install Expat and XML::Parser...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
read PayflowPro reports using the report metadata using perl 11 43
stftime format 4 56
perl getopt long help 34 71
Perl script to process a .csv file 18 44
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question