saslpasswd2 segfault on Slackware 10.1 (Mayday)
Alexey Melnikov
alexey.melnikov at isode.com
Sun Sep 18 10:22:05 EDT 2005
Matthew Cook wrote:
> Howdy,
>
> I have a sticky problem building and installing cyrus-sasl-2.1.21 on
> my Slackware 10.1 box. I've googled alot over the last two nights
> and this issue appears to be the result of the Berkeley database lib
> that sasl is being linked to.
>
> I am using the following configure options to build;
>
> ./configure \
> --prefix=/usr \
> --enable-anon \
> --enable-plain \
> --enable-login \
> --disable-krb4 \
> --disable-otp \
> --disable-cram \
> --disable-digest \
> --with-saslauthd=/var/run/saslauthd \
> --with-plugindir=/usr/lib/sasl2 \
> --without-pam \
> --with-mysql \
> --with-openssl
>
> There are no errors and after building I see the following libraries
> are being linked against;
>
> root at Tweety:/# ldd /usr/sbin/saslpasswd2
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40022000)
> libdl.so.2 => /lib/libdl.so.2 (0x40037000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x4003c000)
> libdb-4.2.so => /lib/libdb-4.2.so (0x4004f000)
> libc.so.6 => /lib/libc.so.6 (0x40122000)
> /lib/ld-linux.so.2 (0x40000000)
>
> It appears my system is picking up the v4.2 berkeley libs. I know
> that the following berkely libs are included on this system;
>
> root at Tweety:/lib# ls -al libdb*
> -rwxr-xr-x 1 root root 508752 2004-05-12 10:39 libdb-3.1.so*
> -rwxr-xr-x 1 root root 604216 2004-05-12 11:01 libdb-3.3.so*
> -rwxr-xr-x 1 root root 867492 2004-05-30 15:33 libdb-4.2.so*
> lrwxrwxrwx 1 root root 15 2005-09-08 17:38 libdb.so.2 ->
> libdb1.so.2.1.3*
> lrwxrwxrwx 1 root root 11 2005-09-08 17:38 libdb.so.3 ->
> libdb2.so.3*
> -rwxr-xr-x 1 root root 55516 2005-01-25 03:32 libdb1.so.2.1.3*
> -rwxr-xr-x 1 root root 264288 2005-01-25 03:32 libdb2.so.3*
>
> All of the HOWTO's I've found seem to either mention or use the
> libdb-3.3 libs, not the 4.x series. Now if I try to run the
> saslpasswd2 util I get the following;
>
> root at Tweety:/# saslpasswd2 -c -u vk5zmc.org matthew
> Password:****
> Again (for verification):****
> /etc/sasldb2
> Segmentation fault
I think the problem is that you have multiple versions of SleepyCat
libraries. The most likely cause is that your db.h doesn't match the
SleepyCat version that you are linking with.
Regards,
Alexey
__________________________________________
Isode M-Box Message Store developer
http://www.isode.com/products/m-box.html
IETF standard related pages:
http://www.melnikov.ca/mel/devel/Links.html
Personal Home Page: http://www.melnikov.ca
__________________________________________
More information about the Cyrus-sasl
mailing list