compile on Netbsd 3
mouss
usebsd at free.fr
Sun Jul 30 19:46:19 EDT 2006
J.D. Bronson wrote:
> is there any special trick to get cyrus sasl2 to compile on netbsd?
> I can get it to compile, but it creates bizarre links and as such
> simply wont work. It also does not build shared libraries in
> /usr/local/lib/sasl2
> as I am used to:
>
> # ldd saslpasswd2
> saslpasswd2:
> -lresolv.1 => /usr/lib/libresolv.so.1
> ../lib/.libs/libsasl2.so => not found
> -ldb-4.4 => /usr/local/BerkeleyDB.4.4/lib/libdb-4.4.so
> -lc.12 => /usr/lib/libc.so.12
>
>
> help?
>
> here is my configure argument:
>
> ./configure --with-dblib=berkeley \
> --with-bdb-libdir=/usr/local/BerkeleyDB.4.4/lib \
> --with-bdb-incdir=/usr/local/BerkeleyDB.4.4/include --disable-krb4 \
> --disable-gssapi --disable-login --disable-otp --disable-anon \
> --disable-checkapop --with-openssl=/usr/local/ssl \
> --enable-auth-sasldb --with-rc4=openssl --with-saslauthd=no \
>
>
try adding something like
--prefix=/usr/pkg \
--with-plugindir=/usr/pkg/lib/sasl2 \
--with-devrandom=/dev/urandom \
LDFLAGS=-Wl,-R/usr/pkg/lib
to your args.
but you'll save yourself a lot of pain by using pkgsrc.
More information about the Cyrus-sasl
mailing list