Missing Shared Libraires

Claudio Bley bley@cs.uni-magdeburg.de
Thu Apr 25 05:56:00 GMT 2002


>>>>> "David" == David Stroupe <dstroupe@keyed-upsoftware.com> writes:

    David> I am building gcc 3.0.4 on an x86 redhat 7.2 system.  The
    David> build seems to go well as does the install.  I can compile
    David> and link my apps but when running them I get an error:

    David> error while loading shared libraries: libstdc++.s0.3:
    David> cannot open shared object file: No such file or directory

You need to configure/tell the dynamic loader where it can find the
libstdc++.so.3 library. In your case it is most likely in /usr/local/lib.

Either adapt and export the LD_LIBRARY_PATH shell variable to include
the location of the library or add the location to /etc/ld.so.conf and
run ldconfig.

HTH
Claudio



More information about the Gcc-help mailing list