Hi,

I try to install php 4.2.1 on Suse8.0 with the external MySQL Support

./configure [...] --with-mysql=path/to/mysql

on Suse8.0 this is (or better was on the standard installation
php4.1.0))  --with-mysql=/usr

=======================================
what I get is:
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.

=======================================
and in config.log
configure:40051: checking for mysql_close in -lmysqlclient
configure:40070: gcc -o
conftest -g -O2  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=2
2 -DMOD_SSL=208107 -DEAPI
    -L/usr/lib
    -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/
X11R6/lib
conftest.c -lmysqlclient  -lmcrypt -lltdl -lldap -llber -lcrypt -lpam
 -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lm -lz -lxml2 
-lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -l
res
olv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 40059 "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:40195: checking for mysql_error in -lmysqlclient
configure:40214: gcc -o
conftest -g -O2  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=2
2 -DMOD_SSL=208107 -DEAPI
        -L/usr/lib -L/usr/lib
        -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/
usr/X11R6/lib -Wl,-rpath,/usr -L/usr
conftest.c -lmysqlclient  -lz -lmcrypt -ll
tdl -lldap -llber -lcrypt -lpam -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm -lpng
 -lz -ljpeg -lz -lm -lz -lxml2 -lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -lbz
2 -
lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 40203 "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; }


=======================================
configure cannot find cannot find mysqlclient?????????????????


Help would be fine! Thanx

JR







-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to