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]
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