I get a shared library not found core dump.

... have XERCESCROOT set

<-dowjonesxom-brentnye-> echo $XERCESCROOT                  
/pbuild/brentnye/xml/xerces-c  

... have SHLIB_PATH set to:

<-dowjonesxom-brentnye-> echo $SHLIB_PATH             
/pbuild/brentnye/xml/xerces-c/lib:/pbuild/brentnye/xml/xalan-c/lib

... Also XALANCROOT is set.

... When I try to run the thing it dumps a core on me saying:

<-dowjonesxom-brentnye->
SimpleTransform                                            
/usr/lib/dld.sl: Can't open shared library:
/home/xalan/apache/xml-xerces/c/lib/
libxerces-c1_4.sl

/usr/lib/dld.sl: No such file or directory

Abort(coredump)   

... I also tried to rebuild the thing specifying where the libraries are.
It
rebuilt fine, but I get the same core dump when I try to run it :

aCC SimpleTransform.cpp -I $XERCESCROOT/src -I $XALANCROOT/c/src -L
$XERCESCROOT/lib -l xerces-c1_4 -L $XALANCROOT/c/lib  -l xalan-c1_1 
     

I can work around this problem by creating a directory in 
/home/xalan/apache/xml-xalan/c/lib 
and 
/home/xalan/apache/xml-xerces/c/lib  
then when I place the shared libraries in the corresponding 
directory, the problem goes away!

Any ideas how to fix this problem?

Thanks,

Brent A. Nye
[EMAIL PROTECTED]

Reply via email to