I apologise for this being slightly off-topic, but there's no list for the
binutils, and I'm a stranger to Solaris.

I have a program foo which uses library libbar. libbar is a shared library
built using automake/autoconf with the LTLIBRARIES variables. libbar is
installed and foo links to it when it builds. So far so good.

But when I try to run the foo program I get the following error:
ld.so.1: ./foo: fatal: libbar-0.1.so.1: open failed: No such file or
directory
killed

Here's the thing: This works fine on Linux. I only get the error on Solaris 7.
I have all the latest GNU tools installed, and I'm installing the library in
usr/local. I am not setting LD_LIBRARY_PATH, and I use the -L/usr/local/lib
argument when linking the library to the program. Solaris 7 has no ld.so.conf
file.


Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
+44 7971 226563

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

Reply via email to