Configure fails to use libmysqlclient


Subject: Configure fails to use libmysqlclient
From: Petri Riihikallio (Petri dot Riihikallio at Metis dot fi)
Date: Sat Feb 08 2003 - 19:18:15 EST


Hello

I am trying to build SASL 2.1.12 with MySQL 4.0.9 on FreeBSD 4.7-p4.

Configure fails with :
   checking for mysql_select_db in -lmysqlclient... no
   configure: error: MYSQL libarary mysqlclient not found
   gmake: *** No targets specified and no makefile found. Stop.

I have checked the library with:
   "strings /usr/local/mysql/lib/libmysqlclient.a | grep mysql_select_db -"
grep returns two lines.

My configure line is:
MAKE=gmake \
./configure \
   --sysconfdir=/etc \
   --disable-krb4 \
   --disable-gssapi \
   --disable-anon \
   --enable-login \
   --with-mysql=/usr/local/mysql

I have sprinkled the configure script with echos. Configure finds the
right dirs and sets LIB_MYSQL_DIR, LIB_MYSQL, CPPFLAGS and eventually
LIBS correctly. LIBS gets set to "-lmysqlclient
-L/usr/local/mysql/lib". Then there are some if-clauses I can't
understand. All I know that three if's are evaluated and they all
turn out to be false.

Is anybody using SASL with MySQL 4 ?
Am I missing something obvious?

-- 
Cheers,
Petri

Metis / Petri Riihikallio GSM: +358 400 505 939







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD