that's right. dbmail 2.x uses the mysql_config and pg_config programs
to find the right include path and library path.

Ilja
On 19 Jan 2004, at 13:21, Igor Olemskoi wrote:

dbamil 2.x configures and compiles fine without export LDFLAGS


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

_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

--
IC&S
Stadhouderslaan 57
3583 JD Utrecht
telnr. 030-6355730
faxnr. 030-6355731

PGP-key:
http://www.ic-s.nl/keys/ilja.txt

Reply via email to