Unable to compile sasl2.1.13 with shared libs


Subject: Unable to compile sasl2.1.13 with shared libs
From: Jared O'Neal (jaredo at buphy dot bu dot edu)
Date: Thu May 08 2003 - 14:19:11 EDT


I am attempting to install sasl v2.1.13 for use with Sendmail v8.12.9 on
my NetBSD v1.6.1 system. However, I am chasing down several problems that
all seem to lead to one error that pops up in my authlog:

sendmail[1075]: Could not find a dlname line in .la file: libsasldb.la
sendmail[1075]: Could not find a dlname line in .la file: libcrammd5.la
sendmail[1075]: Could not find a dlname line in .la file: libdigestmd5.la

After searching through the archives it would seem that I should compile
sasl with shared libs (i.e. --enable-shared) to solve the problem. I
tried this, but came across an error during make'ing regarding p
lugin_common.lo already existing. Following more suggestions, I:

1) patched sasl/lib/Makefile.am with a fix from the archives (patch
complained about old style but said it was successful)
2) rm sasl/configure
3) regenerated makefiles with SMakefile from the CVS repository
4) reconfigured and compiled with
        env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include" \
            LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib \
            ./configure \
            --with-dblib=berkeley \
            --disable-plain \
            --disable-anon \
            --disable-otp \
            --enable-shared

Everything seemed OK, although configure warned about an old version
of the 'missing' script. I recompiled sendmail, which upon investigation
accepted SASL2. However, I still have the aforementioned dlname problem,
which leads me to believe that SASL still compiled with STATIC libraries.

I would greatly appreciate any suggestions! Have a made a stupid mistake
somewhere along the line?

Thanks.

jared







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD