Thanks Christopher, it worked!
I followed your suggestion, and added /usr/local/lib to the environment
variable LD_LIBRARY_PATH.
Now it can find the shared object libstdc++.so.5.
Best regards,
Rafael Sousa
-----Mensagem original-----
De: Christopher Hahn [mailto:[EMAIL PROTECTED]
Enviada: ter 04-10-2005 20:48
Para: [email protected]
Cc:
Assunto: RE: libstdc++.so.5 not found when running samples
While I am fairly sure that /lib and /usr/lib are searched by default,
I am not certain that /usr/local/lib is.....so just to exclude the
possibility
I would either link this lib into /usr/lib or add /usr/local/lib to
LD_LIBRARY_PATH
HTH!
-----Original Message-----
From: Rafael Sousa (Ext_Altior) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 12:43 PM
To: [email protected]
Subject: libstdc++.so.5 not found when running samples
Hi all!
I compiled Xerces-C++ source and samples on Solaris, and all went ok.
Nevertheless, when I try to run any of the samples I get the following
error:
ld.so.1: ./DOMPrint: fatal: libstdc++.so.5: open failed: No such file or
directory
The library libstdc++.so.5 is under /usr/local/lib.
Does anybody know why I get this error?
Thanks!
Rafael Sousa