Tony Johnson writes:
>
>Just out of curiosity, what OS are U using. I bet that this would work
>directly out of the box from FreeBSD ports (Those guys/gals are good!) But
>trying to do this on Solaris 8 x86 which is highly proprietary and u have to
>basically reconfigure and unproprietarize (I guess this on on of those Jesse
>Jackson made up words) the box.
>
>The berkeley libs are not found here either but I assume that this is not a
>problem because U can use gdbm or ndbm. But its strange that in my
>LD_LIBRARY_PATH includes /usr/local/Berkeley3.1...
You shouldn't have to use LD_LIBRARY_PATH in Solaris. Please check
the Solaris-2 FAQ for a discussion of this issue. You do have to
tell the configure scripts where to find libraries and include files.
As and example, here's what I use for SASL:
env CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix" \
LDFLAGS="-L/usr/local/src/db/db-3.1.17/build_unix -R/usr/local/lib" \
CC=cc \
./configure --localstatedir=/var/run --with-dblib=berkeley \
--with-pwcheck=/var/run/pwcheck --enable-login --disable-krb4 \
--disable-gssapi --with-des=yes \
--with-rc4=/usr/local/src/OpenSSL/openssl-0.9.5a
#!/end
And for Cyrus:
#!/bin/sh
env CC=cc CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix" \
LDFLAGS="-L/usr/local/src/db/db-3.1.17/build_unix
-L/usr/local/src/zephyr/zephyr-2.0.4/lib/zephyr" \
LIBS="-lsocket -lnsl" \
./configure --with-cyrus-prefix=/usr/local/cyrus \
--with-idle=idled \
--with-auth=unix --with-notify=zephyr \
--with-zephyr=/usr/local/src/zephyr/zephyr-2.0.4/h/zephyr \
--with-sasl=/usr/local/src/cyrus/libsasl-1.5.24 \
--with-statedir=/var/run \
--with-openssl=/usr/local/src/OpenSSL/openssl-0.9.5a
#!/end
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-