This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Runtime error, not finding /usr/local/lib
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Runtime error, not finding /usr/local/lib
- From: Gary Monheit <monheit at alexandria dot ucsb dot edu>
- Date: Wed, 30 Aug 2000 16:09:18 -0700
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!