Are you running linux?
I think it should be just --enable-sqllibdir=/usr/local/mysql/lib/mysql
I had tons of problems getting vpopmail to work with mysql on linux too, but
I did get it to run eventually :P Though that was a long time ago, now I run
on FreeBSD and everything works really great.
Also, does ./configure --enable-mysql=y
with out the sqlincdir and sqllibdir work? It worked for me with out it.
What I might have done on the linux box is installed mysql into /usr/local,
so the mysql binary lived in /usr/local/bin and mysql libraries lived in
/usr/local/lib and include files lived in /usr/local/include... I know this
isn't the best way, but it worked. I have a feeling that it might be that
your mysql libraries are not being loaded, try to include them with ldconfig
On FreeBSD it really was just so much simpler, installed the ports, as easy
as make, make install. Nothing to change edit etc, worked out of the box
sort of speak :P
Anyway, hope this was some help.
__
Kris.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 10, 2001 8:17 PM
Subject: mysql + vpopmail problem
> When i do ./configure --prefix=/qmail/vpopmail --enable-sqwebmail-pass=y
> --enable-mysql=y --enable-sqlincdir=/usr/local/mysql/include/mysql
> --enable-sqllibdir=/usr/local/mysql/lib/mysql/lib --enable-qmaildir=/qmail
>
> The two locations to sqlincdir and sqllibdir are not read i guess and it
goes
> to the default location /usr/local/lib/mysql or something along those
lines.
> So i made symbolic links to those two default locations to the correct
one,
> it then would make, but when i try to run anything like vadddomain i get
>
> ./vadddomain: error while loading shared libraries: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
>
> Any ideas?
>