|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-27 23:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
I tried to install php as static module to apache. But there was a problem in the libmysqlclient. How can I fix it? If you tell me: "add -lz last when linking with lmysqlclient", can you tell me then where to add -lz? command-line history: $ tar -vxzf apache_1.3.20.tar.gz $ cd apache_1.3.20 $ ./configure $ cd .. $ tar -vxzf php-4.0.6.tar.gz $ cd php-4.0.6 $ ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.x --enable-track-vars $ make $ make install $ cd ../apache_1.3.20 $ ./configure --prefix=/usr/local/apache\ --activate-module=src/modules/php4/libphp4.a $ make Error-Message /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 kind regards ivo