[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: libgdbm.so.2 not found on Solaris 7
On Fri, May 25, 2001 at 03:55:46PM -0700, Pritesh Dagli wrote:
> I have the correct environment variables. The file "libgdbm.so" sits in my /usr/local/lib directory and I have the following variables in my environment:
>
> CPPFLAGS=-I/space/openldap-2.0.10/include -I/usr/local/include
> LDFLAGS=-L/usr/local/lib -L/lib -L/usr/local/include
> LD_LIBRARY_PATH=-L/usr/local/lib
1. -I/usr/local/include has no business being in LDFLAGS
2. "-L" does not belong in LD_LIBRARY_PATH
3. add -R/usr/local/lib to the LDFLAGS