Hello,

I am installing on debian sarge with mysql. ./configure is not warning
me that I am not installing the libraries.

./configure didn't find my sql libraries

./configure \
--enable-roaming-users \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-passwd \
--enable-relay-clear-minutes=60 \
--enable-ip-alias-domains \
--disable-domainquotas \
--enable-valias \
--enable-auth-module=mysql \
--enable-mysql-limits
............
checking whether an auth module has been specified... mysql
configure: error: Unable to find your MySQL lib dir, specify
--enable-libdir.
............

So I specified my lib dir and ran configure && make && make install
everything seemed to work fine, but the mysql table was not created.
I tried many different lib dirs and it turns out configure exits OK
with any directory that exists: Example:

./configure \
--enable-roaming-users \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-passwd \
--enable-relay-clear-minutes=60 \
--enable-ip-alias-domains \
--disable-domainquotas \
--enable-valias \
--enable-auth-module=mysql \
--enable-mysql-limits \
--enable-libdir=/home/d/dcm/mail
&& echo $?
..................
auth inc = -I/usr/include/mysql
auth lib = -L/home/vpopmail  -lmysqlclient -lz -lm
..................
0
So it looks like vpopmail was not configured correctly, yet the make
and make install work... I am very confused.

By the way, where ARE the mysql libraries installed when by apt-get
libmysqlclient12-dev
I have tried /usr /usr/lib where they seem to be installed and it does
not work.



Reply via email to