Hi

> I'm trying to compile dbmail against mysql, but already getting lost while
configuring.
>
> I start with:
>
>
./configure --with-mysql=/usr/local/mysql/include --prefix=/usr/local/dbmail
> checking for mysql_real_connect in -lmysqlclient... no
> configure: error:
>   Unable to link against mysqlclient.  It appears you are missing the
>   development libraries or they aren't in your linker's path

We had a similar problem fixed by doing

under bash do 'export LDFLAGS=-L/usr/local/lib/mysql'



then './configure --with-mysql' then gmake && gmake install



HTH



Simon

Reply via email to