This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Runtime error, not finding /usr/local/lib


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!




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]