[jadmin] Jabberd 1.4.4/MySQL Config Fails

Matthias Wimmer m at tthias.eu
Wed Sep 13 09:18:22 CDT 2006


Hi Tim!

Tim Evans schrieb:
> The jabberd-1.4.4 config.log reports a failure with MySQL 4.1.21:
> 
> configure:22373: checking mysql/mysql.h presence
> configure:22383: gcc -E  -I/usr/local/include conftest.c
> configure:22389: $? = 0
> configure:22409: result: yes
> configure:22444: checking for mysql/mysql.h
> configure:22451: result: yes
> configure:22456: checking for mysql_close in -lmysqlclient
> configure:22486: /bin/sh ./libtool --mode=link gcc -o conftest -g -O2 
> -I/usr/local/include  -L/usr/local/lib conftest.c -lmysqlclient  -lresolv 
> -ldl -lidn -lpth -lexpat >&5
> gcc -o conftest -g -O2 -I/usr/local/include conftest.c  -L/usr/local/lib
> -lmysqlclient -lresolv -ldl /usr/local/lib/libidn.so /usr/local/lib/libpth.so
> /usr/local/lib/libexpat.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/usr/local/lib
> /usr/local/lib/libmysqlclient.a(my_compress.o)(.text+0xb4): In function
> `my_compress_alloc':
> : undefined reference to `compress'
> /usr/local/lib/libmysqlclient.a(my_compress.o)(.text+0x12a): In function
> `my_uncompress':
> : undefined reference to `uncompress'
> collect2: ld returned 1 exit status
> configure:22492: $? = 1
> 
> Is this a known issue?  Solution?  Thanks.

Havn't had this yet. Which distribution? Looks like there is something 
missing that is required to compile and link against mysql. Are you 
sure, that all mysql-client-development packets of your distribution are 
installed?


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/



More information about the JAdmin mailing list