public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Please let me know about this matter....
@ 2001-02-07 18:46 hyunki
  2001-02-07 19:14 ` Mike Copenhafer
  0 siblings, 1 reply; 2+ messages in thread
From: hyunki @ 2001-02-07 18:46 UTC (permalink / raw)
  To: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]





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
 
 
 
 
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Please let me know about this matter....
  2001-02-07 18:46 Please let me know about this matter hyunki
@ 2001-02-07 19:14 ` Mike Copenhafer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Copenhafer @ 2001-02-07 19:14 UTC (permalink / raw)
  To: hyunki; +Cc: help-gcc

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
> 
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-07 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-07 18:46 Please let me know about this matter hyunki
2001-02-07 19:14 ` Mike Copenhafer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).