in reply to Re: libxerces-c.so.25
in thread libxerces-c.so.25

The error might also mean that XML::Xerces is installed, but for some reason it cannot find the external shared library libxerces-c.so.25 that the module was compiled against. This might mean that it's not available on the system, for which one should get and install the library, and then recompile the XML::Xerces package against it. If it is available, you may have to either run ldconfig() to update the links to the libraries, or else set the LD_LIBRARY_PATH environment variable to point to the directory where the library is found, if it's a non-standard location.

Replies are listed 'Best First'.
Re^3: libxerces-c.so.25
by jbrose (Novice) on Jan 24, 2006 at 21:48 UTC
    We have a similar looking error. Although not exactly the same.

    Error....

    Can't load '/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/XML/Xerces/Xerces.so' for module XML::Xerces: ld.so.1: /usr/bin/perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/XML/Xerces/Xerces.so: symbol _ZN11xercesc_2_56XMLUni22fgUCS4LEncodingString2E: referenced symbol not found at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230. at /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/XML/Xerces.pm line 7

    We have used these two guides to attempt the installation of Xerces...

    http://xml.apache.org/xerces-c/build-winunix.html#UNIX

    We follow the install.txt file

    set XERCESCROOT
    perl Makefile.PL
    make
    make test (which is never 100% ok)
    make install

    Are we leaving something out of install process?

    Thanks john