error perl

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
perlperlAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mjcoyneConnect With a Mentor Commented:
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
 
tone28Commented:
I would reinstall perl and it's modules.
0
 
perlperlAuthor Commented:
what could be the reason..it was working untill yesterday
0
 
tone28Commented:
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
 
ravenplCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.