[Date Prev][Date Next]
Re: Trying to compile ldap 1.1.1 on Solaris 2.6. (ITS#45)
At 10:51 PM 1/18/99 GMT, email@example.com wrote:
>I had the same problem and Kurt Zeilenga gave me this advice that
>worked like a charm.
>Remember to use Sleepycat version db-2.3.16 (available from Walnut
>Creek; I don't have the URL handy).
> rm config.cache
> setenv CPPFLAGS "-I/usr/local/include"
> setenv LIBS "-L/usr/local/lib -lpthread -lposix4"
> (replace use of setenv with the appropriate environment
> setting mechanism for your shell)
> ./configure --with-threads
>Replace "/usr/local" with the appropriate prefix necessary to
I now recommend putting linker flags in LDFLAGS. This is because
LIBS will be moved to near the end of the argument list in 1.2 (due
to pthread linking requirements on some platforms). So:
setenv CPPFLAGS "-I/usr/local/include"
setenv LDFLAGS "-L/usr/local/lib"
setenv LIBS "-lpthread -lposix4"
For additional information on Solaris, please read:
For additional information on DB2, please read: