Edit report at http://bugs.php.net/bug.php?id=54731&edit=1
ID: 54731 User updated by: shrimpwagon at yahoo dot com Reported by: shrimpwagon at yahoo dot com Summary: MySQL package failed configure PHP 5.3.6 -Status: Open +Status: Closed Type: Bug Package: MySQL related Operating System: Linux 2.6.32-5-686 i686 GNU/Linu PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: All I had to do was install package libltdl-dev Previous Comments: ------------------------------------------------------------------------ [2011-05-13 21:44:12] shrimpwagon at yahoo dot com Description: ------------ linux:~# mysql --version mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (i486) using readline 6.1 linux:~# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib --enable-wddx --enable-sockets --with-openssl --with-mysql=/usr/bin/ --with-mcrypt --enable-mbstring --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-gettext ... configure:59659: checking for MySQL support configure:59703: checking for specified location of the MySQL UNIX socket configure:59901: checking for mysql_close in -lmysqlclient configure:59920: gcc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -L/usr/lib conftest.c -lmysqlclient -lmcrypt -lltdl -lpng -lz -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lssl -lcrypto -lcurl -lxml2 -lssl -lcrypto 1>&5 /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status configure: failed program was: #line 59909 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_close(); int main() { mysql_close() ; return 0; } configure:60143: checking for mysql_error in -lmysqlclient configure:60162: gcc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -L/usr/lib -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lmcrypt -lltdl -lpng -lz -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lssl -lcrypto -lcurl -lxml2 -lssl -lcrypto 1>&5 /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status configure: failed program was: #line 60151 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); int main() { mysql_error() ; return 0; } Test script: --------------- linux:~# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib --enable-wddx --enable-sockets --with-openssl --with-mysql=/usr/bin/ --with-mcrypt --enable-mbstring --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-gettext ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54731&edit=1