3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] 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:Re: [maildropl] maildrop 1.4.0 + MySQL (RH 7.3)Actions...
From:Jeremy Gunter (jer@synaptixllc.com)
Date:Aug 31, 2002 1:21:40 pm
List:net.sourceforge.lists.courier-maildrop

Problem solved. Here is a more verbose problem description, and my solution for now. Hopefully this will be useful to someone.

Redhat Linux 7.3 maildrop 1.4.0 mysql-3.23.49

configure --enable-maildropmysql Completes OK. make Fails with: /usr/bin/ld: cannot find -lmysqlclient

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.

--Jeremy

On Sat, 31 Aug 2002 10:08:39 -0500 (EST) "Jeremy Gunter" <jer@synaptixllc.com> wrote:

Hello,

I've sifted through the archives but haven't found references to this problem.

Does anyone have any sugestions for the following.

I want to build mysql support into maildrop. Here is how I am doing it.

./cofigure \ --prefix=/PATH/TO/MY/INSTALL \ --disable-userdb \ --enable-sendmail=/PATH/TO/POSTIX/SENDMAIL \ --enable-maildrop-uid=vmail \ --enable-maildrop-gid=vamil \ --enable-maildirquota \ --enable-maildropmysql=/usr/lib \ --with-mysqlconfig=/PATH/TO/MY/maildropmysql.config

[skip]

Any Ideas?

1) Show a part of maildropmysql.config with configs for sql server (host,db,port etc ...) 2) May be '--enable-maildropmysql' without '=/usr/lib'?

WBR, Dmitry Lebkov