On Thu, 2002-05-09 at 23:23, Bas Rijniersce wrote:
> Maybe the output of config.log will help. Again, the libmysqlclient is
> listed in the output of ldconfig -v, and the header files are in the dir
> that is shown.. But I don't see any header file includes, so that
> probably won't make a difference
> 
> configure:3046: checking for library containing mysql_connect
> configure:3064: gcc -o conftest -Wall -g -O2  -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/local/include/mysql
> -L/usr/local/lib/mysql -lmysqlclient conftest.c -lm -lz -lcrypt  -lglib
> 1>&5
> /tmp/ccF80HQh.o: In function `main':
> /root/build/midgard-lib-1.4_CVS200205090205/configure:3060: undefined
> reference to `mysql_connect'
> collect2: ld returned 1 exit status
> configure: failed program was:

Add /usr/local/lib/mysql to /etc/ld.so.conf, run ldconfig and try again.

wkr,
 
-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to