From: Michal L. <mi...@lo...> - 2006-09-29 23:12:19
|
Troy Ayers wrote: > When compiling mysqlfs version 0.3 I see in my config.log: > > configure:18717: checking for mysql_init in -lmysqlclient > configure:18747: gcc -o conftest -L/usr/local/lib -I/usr/local/include > -Wall -Werror -I/usr/include/mysql -g -pipe -m32 -march=i3 > 86 -mtune=pentium4 -L/usr/local/lib -L/usr/lib/mysql -lmysqlclient_r > -lz -lpthread -lcrypt -lnsl -lm -lpthread conftest.c -lmysq > lclient -lpthread >&5 > /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x57): In function > `my_compress_alloc': > : undefined reference to `compress' > /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x143): In function > `my_uncompress': > : undefined reference to `uncompress' > > But of course compress/uncompress is supported (libz right?): > # ldd /usr/lib/libmysqlclient.so | grep libz > libz.so.1 => /usr/lib/libz.so.1 (0x00475000) I don't have RHEL installed but perhaps zlib-devel package could solve it? If not I'll install CentOS 4 somewhere and try to reproduce. But that would take some time. BTW On my SuSE box I have these symbols in libz: $ nm /usr/lib/libz.a | grep compress compress.o: 000000f0 T compress 00000020 T compress2 00000000 T compressBound 00000000 T uncompress U compressBound 00000ac0 t compress_block and mysql-devel depends on zlib-devel so I got the dependency satisfied. Michal |