3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: maildrop 1.4.0 + MySQ...
FromSent OnAttachments
Jeremy GunterAug 31, 2002 1:21 pm 
Sam VarshavchikAug 31, 2002 1:54 pm 
Jeremy GunterAug 31, 2002 2:59 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: maildrop 1.4.0 + MySQL (RH 7.3)Actions...
From:Jeremy Gunter (jer@synaptixllc.com)
Date:Aug 31, 2002 2:59:41 pm
List:net.sourceforge.lists.courier-maildrop

Jeremy Gunter writes:

my first attempts at providing a path to the mysql libs for --enable-maildropmysql result in a maildrop binary without libmysqlclient.so linked (ldd maildrop), although ./configure and make complete successfully.

Solution: ln -s /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so ldconfig

make now completes successfully, the maildrop binary is linked and best of all, it works.

Is this a bug in maildrop's configure or RH 7.3 weirdness.

You have a broken box. By default, Red Hat's mysql RPMs add /usr/lib/mysql to /etc/ld.so.conf.

I have now confirmed the behavior on another box, so it is not simply a broken box as far as I can tell.

/etc/ld.so.conf does indeed have /usr/lib/mysql listed.

Running ldconfig -v confirms that it finds that directory and is creating the links and the cache.

Still ld -lmysqlclient gives "cannot find -lmysqlclient" (unless the symlink is put in place).