This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Please let me know about this matter....
- To: hyunki <hyunki at tricomtek dot com>
- Subject: Re: Please let me know about this matter....
- From: Mike Copenhafer <mcopenha at cs dot ucsd dot edu>
- Date: Wed, 7 Feb 2001 19:13:44 -0800 (PST)
- cc: help-gcc at gnu dot org
onyasa-o!
The problem is that the shared library libstdc++.so can't be found
during load time. Try using the 'ldd' command to list the shared library
dependences:
ldd nameofyourprogram
libXext.so.0 => /usr/lib/libXext.so.0
libX11.so.4 => /usr/lib/libX11.so.4
libdl.so.1 => /usr/lib/libdl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libstdc++.so.2.8.1 => (file not found)
it might print something similiar to the above. Then you'll want to set
your LD_LIBRARY_PATH variable to point to the location of the
libstdc++.so library. E.g.,
export LD_LIBRARY_PATH=/usr/local/lib/
and then try using ldd again.
-Mike C.
p.s. who's steve?
On Thu, 8 Feb 2001, hyunki wrote:
> Dear steve
>
> I'm working in TriCom Technology in KOREA.. and I'm writing to get an answer about g++.
>
> Our system is configured as follow items,
> - Solaris version : 2.6
> - gcc : 2.95.2
> - libstdc++-2.8.1.1
>
> When I tried to run the execute-file, I got a error message....
> ld.so.1: c: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
>
> But I don't know how I do...
> Additionaly, the execute-file is very simple c++ source and I didn't got a any error message during compile...
>
> what's the problem? Please let me know about that...
> I hope to hear from you soon....
>
>
> Best Regards,
> Hyunki
>
>
>
>
>
>