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

Re: openldap-2.0.15 & Solaris 8 w/ gcc

On Sun, Sep 23, 2001 at 07:46:09PM -0400, Michael R Hanulec wrote:
> gcc -g -O2 -I../../include -I../../include -I/usr/local/ssl/include
> -I/usr/local/BerkeleyDB.3.2/include
> -L/usr/local/src/openldap-2.0.15/libraries -L/usr/local/ssl/lib
> -L/usr/local/BerkeleyDB.3.2/lib -o dtest dtest.o -llber -lresolv -lgen
> -lnsl -lsocket -ldl -R/usr/local/lib -R/usr/local/lib

you have -R for all the libs EXCEPT the sasl ones (and berkeley ones).

Make your life easier, start from scratch, and follow the directions at

Note that I recommend reinstalling BerkeleyDB to the more common location,
as specified in the HTML page.