php-install | 2004091
Date: 09/07/04
- Next message: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Previous message: gohaku: "Re: [PHP-INSTALL] Run-time problem with PHP5, Solaris 9, Apache 2"
- In reply to: Vincent: "[PHP-INSTALL] Re:"
- Next in thread: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Maybe reply: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Reply: RPMS: "Re: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello All,
I try to configure php-4.3.8 with mnogosearch-3.2.21. my
configuration script is:
======================= quote ==================================
./configure --prefix=/usr/local/httpd/php --with-apxs=/usr/local/httpd/bin/apxs \
--with-mysql=/usr/local --with-pgsql=/usr/local \
[..skipped..]
--with-mnogosearch
======================= end quote ==============================
but it fails with the message:
configure: error: mysql configure failed. Please check config.log for more information.
======================= quote ==================================
$ tail -n 20 config.log
mysql_close()
; return 0; }
configure:56445: checking for mysql_error in -lmysqlclient
configure:56464: gcc -o conftest -g -O2 -R/usr/local/lib/mysql -L/usr/local/lib/mysql -R/usr/local//lib -L/usr/local//lib -R/usr//lib -L/usr//lib -R/usr/local//lib -L/usr/local//lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -R/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib -R/usr/local/ -L/usr/local/ conftest.c -lmysqlclient -lz -lmcrypt -lltdl -lintl -lfreetype -lpng -lz -ljpeg -lxml2 -lxslt -lz -lcurl -lz -lssl -lcrypto -lm -lcurl -lz -lssl -lcrypto -lxml2 -lz -liconv -lm -lm -lz -lmysqlclient -lmnogosearch -lmnogocharset 1>&5
/usr/libexec/elf/ld: warning: libmysqlclient.so.10, needed by /usr/local/mnogosearch/lib/libmnogosearch.so, may conflict with libmysqlclient.so.12
/usr/local/mnogosearch/lib/libmnogosearch.so: undefined reference to `pthread_mutex_unlock'
/usr/local/mnogosearch/lib/libmnogosearch.so: undefined reference to `pthread_mutex_destroy'
/usr/local/mnogosearch/lib/libmnogosearch.so: undefined reference to `pthread_mutex_lock'
/usr/local/mnogosearch/lib/libmnogosearch.so: undefined reference to `pthread_mutex_init'
configure: failed program was:
#line 56453 "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; }
======================= end quote ==============================
If "--with-mnogosearch" is skipped configuration script works ok.
Compilation another version of php (such as 5.0.1) gives the same
results. As I understand the problem is with conflict of the libs
libmysqlclient.so.10 and libmysqlclient.so.12. But how to solve it I
don't know :(
======================= quote ==================================
$ ls -la /usr/local/lib/mysql/
total 2464
drwxr-xr-x 2 root wheel 512 6 вер 21:26 .
drwxr-xr-x 21 root wheel 6144 6 вер 21:42 ..
-r--r--r-- 1 root wheel 11654 23 тра 19:04 libdbug.a
-r--r--r-- 1 root wheel 34914 23 тра 19:04 libheap.a
-r--r--r-- 1 root wheel 15018 23 тра 19:04 libmerge.a
-r--r--r-- 1 root wheel 262934 23 тра 19:04 libmyisam.a
-r--r--r-- 1 root wheel 26038 23 тра 19:04 libmyisammrg.a
-rw-r--r-- 1 root wheel 343076 23 тра 18:55 libmysqlclient.a
-rwxr-xr-x 1 root wheel 702 5 вер 2002 libmysqlclient.la
lrwxr-xr-x 1 root wheel 20 6 вер 21:26 libmysqlclient.so -> libmysqlclient.so.12
-rwxr-xr-x 1 root wheel 142013 5 вер 2002 libmysqlclient.so.10
-rwxr-xr-x 1 root wheel 273486 23 тра 18:55 libmysqlclient.so.12
-rw-r--r-- 1 root wheel 351642 23 тра 18:55 libmysqlclient_r.a
-rwxr-xr-x 1 root wheel 714 5 вер 2002 libmysqlclient_r.la
lrwxr-xr-x 1 root wheel 22 6 вер 21:26 libmysqlclient_r.so -> libmysqlclient_r.so.12
-rwxr-xr-x 1 root wheel 147871 5 вер 2002 libmysqlclient_r.so.10
-rwxr-xr-x 1 root wheel 280663 23 тра 18:55 libmysqlclient_r.so.12
-r--r--r-- 1 root wheel 141748 23 тра 19:04 libmystrings.a
-r--r--r-- 1 root wheel 243226 23 тра 19:04 libmysys.a
-r--r--r-- 1 root wheel 100284 23 тра 19:04 libnisam.a
-r--r--r-- 1 root wheel 6662 23 тра 19:04 libvio.a
======================= end quote ==============================
-- Best regards, Almi mailto:almi <email protected>
- Next message: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Previous message: gohaku: "Re: [PHP-INSTALL] Run-time problem with PHP5, Solaris 9, Apache 2"
- In reply to: Vincent: "[PHP-INSTALL] Re:"
- Next in thread: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Maybe reply: Help Desk Nextra: "RE: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Reply: RPMS: "Re: [PHP-INSTALL] mnogosearch :: mysql configure failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

