|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-29 08:23 UTC] johannes@php.net
-Status: Open
+Status: Bogus
[2011-08-29 08:23 UTC] johannes@php.net
[2011-08-29 21:10 UTC] fuxa_kos at unihost dot cz
[2011-08-29 23:17 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 20:00:01 2025 UTC |
Description: ------------ './configure' \ '--prefix=/usr/local/php538' \ '--with-config-file-path=/etc' \ '--with-apxs2=/usr/local/apache/bin/apxs' \ '--with-libdir=lib64' \ '--disable-all' \ '--enable-bcmath' \ '--enable-ctype' \ '--enable-filter' \ '--with-iconv' \ '--enable-intl' \ '--enable-mbstring' \ '--enable-mbregex' \ '--with-mysql=/usr' \ '--with-mysqli=/usr/bin/mysql_config' \ '--with-pcre-regex' \ '--with-regex' \ '--enable-session' \ '--with-zlib' \ "$@" rpm -qa |grep MySQL MySQL-client-community-5.1.58-1.rhel5 MySQL-server-community-5.1.58-1.rhel5 MySQL-shared-compat-5.5.15-1.rhel5 MySQL-devel-community-5.1.58-1.rhel5 ls /usr/lib64/*mysql* /usr/lib64/libmysqlclient_r.so.12 /usr/lib64/libmysqlclient_r.so.16 /usr/lib64/libmysqlclient.so.15 /usr/lib64/libmysqlclient_r.so.12.0.0 /usr/lib64/libmysqlclient_r.so.16.0.0 /usr/lib64/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient_r.so.14 /usr/lib64/libmysqlclient.so.12 /usr/lib64/libmysqlclient.so.16 /usr/lib64/libmysqlclient_r.so.14.0.0 /usr/lib64/libmysqlclient.so.12.0.0 /usr/lib64/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient_r.so.15 /usr/lib64/libmysqlclient.so.14 /usr/lib64/libmysqlclient_r.so.15.0.0 /usr/lib64/libmysqlclient.so.14.0.0 /usr/lib64/mysql: libdbug.a libmygcc.a libmyisammrg.a libmysqlclient.la libmysqlclient_r.la libmysys.a libz.a mysqld-debug.sym plugin libheap.a libmyisam.a libmysqlclient.a libmysqlclient_r.a libmystrings.a libvio.a libz.la mysqld.sym checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. tail ... config.log configure:59800: checking for MySQL support configure:59844: checking for specified location of the MySQL UNIX socket configure:60042: checking for mysql_close in -lmysqlclient configure:60061: gcc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -L/usr/lib64 conftest.c -lmysqlclient -lz -lrt -lm -ldl -lnsl -licui18n -licuuc -licudata -lm -licuio 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 60050 "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:60284: checking for mysql_error in -lmysqlclient configure:60303: gcc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -L/usr/lib64 -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lz -lrt -lm -ldl -lnsl -licui18n -licuuc -licudata -lm -licuio 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 60292 "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: --------------- see Description Expected result: ---------------- configure without error Actual result: -------------- configure exit with error