Runtime error, not finding /usr/local/lib

Gary Monheit monheit@alexandria.ucsb.edu
Wed Aug 30 16:09:00 GMT 2000


I am running gcc version 2.95.2  (Oct 24, 1999 release) on SunOS 5.7.
This machine was only recently installed with pre-compiled binaries of
gcc. I'm the first to test gcc on this machine.

I noticed that I need to:
  setenv LD_LIBRARY_PATH /usr/local/lib

to get any binaries to run. It cannot find the shared object file
libstdc++.so.2.10.0
unless I set LD_LIBRARY_PATH explicitly.

Error msg:
    ld.so.1: main: fatal: libstdc++.so.2.10.0: open failed: No such file
or directory


What's wrong? This used to work in previous releases of gcc 2.8.1. Do I
need a special link parameter to get this to work?

Thanks for any help!





More information about the Libstdc++ mailing list