[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem with libgdbm.so.2 on Solaris 7



I would try and put links in /usr/lib to the libraries in /usr/local/lib.  
This is what I did on my solaris 8 box for openldap to compile properly with 
gdbm.

Brian Wert



> when trying to install OpenLDAP on a Solaris 7 box, slapd fails to execute
> due to following error:
>
> ld.so.1: slapd: fatal: libgdbm.so.2: open failed: No such file or directory
>
> 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
>
> Despite this, it is unable to compile.  Does anyone know what I am doing
> wrong ??