Re: Problem Creating sasldb2

From: Jeremy Rumpf (jrumpf at heavyload dot net)
Date: Tue Mar 23 2004 - 14:51:44 EST

  • Next message: Jeremy Fisher: "Re: Problem Creating sasldb2"

    On Tuesday 23 March 2004 11:16 am, Jeremy Fisher wrote:
    > Hello!
    >
    > I wouldn't trouble y'all with this question, except
    > that I have already exhausted my understanding of what
    > could be wrong after several late nights of
    > researching, pondering, and tinkering. By way of
    > background, I am attempting to configure sendmail
    > 8.12.11, Cyrus IMAP 2.2.3, Cyrus SASL 2.1.18 (with
    > Berkeley DB 4.2.52) in a virtual host environment on
    > FreeBSD 4.4.
    >
    > Right now, my hangup is with Cyrus SASL and
    > (apparently?) its dependency on Berkeley DB.
    >
    > Before make and make install with SASL, this is one of
    > the configure settings that I had attempted:
    >
    > su-2.05a# ./configure
    > --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib/
    > --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include/
    >
    > SASL successfully installs without any complaints. But
    > saslpasswd2 fails to create the /etc/sasldb2 file and
    > I am seeing the following in /var/log/messages:
    >
    > 201: Mar 22 22:59:49 k2alpha saslpasswd2: unable to
    > dlopen /usr/lib/sasl2/libsasldb.so.2: Shared object
    > "libdb-4.2.so" not found
    > 203: Mar 22 22:59:53 k2alpha saslpasswd2: could not
    > find auxprop plugin, was searching for [all]
    > 205: Mar 22 22:59:53 k2alpha saslpasswd2: secret not
    > changed for jeremy: no writable auxprop plugin or
    > setpass callback found
    > 208: Mar 22 22:59:53 k2alpha saslpasswd2: could not
    > find auxprop plugin, was searching for [all]
    >
    > Any assistance or pointers would be immensely
    > appreciated. Thank you for your time!
    >
    > Jeremy M. Fisher
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Finance Tax Center - File online. File on time.
    > http://taxes.yahoo.com/filing.html

    It appears that things get compiled correctly, but your run time linker isn't
    finding the BerkeleyDB libraries. Check that libdb-4.2.so is in /usr/local/
    BerkeleyDB.4.2/lib. If so try:

    Before running saslpasswd2 (assuming a Bourne compatible shell)

    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.2/lib"
    export LD_LIBRARY_PATH

    Then run,

    saslpasswd2 <foo arguments>

    Another option would be to symlink /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
    to /usr/lib/libdb-4.2.so or something or the like.

    HTH,
    Jeremy


  • Next message: Jeremy Fisher: "Re: Problem Creating sasldb2"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD