Porblems with php+Suse
| From: | Alberto Tarantino | Date: | Mon, 27 May 2002 10:07:32 +0000 |
| Subject: | Porblems with php+Suse | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7117@lists.php.net to get a copy of this message | ||
Hi there,
I'm trying to compile PHP 4.1.2 as an Apahce module on a standard Suse Pro
8.0 distro.
As you can see I need both Oracle8 and Mysql support and, in my past
experiences m, everything always worked right. Now.. the debug script seems
to be unable to find the Mysql client.. I've checked it twice and I'm sure I
have installed it.. since I used it.
Can you please help me?
Thanks in advance
Alberto Tarantino
Debug.log:
CONFIGURE: './configure' '--prefix=/usr/share'
'--datadir=/usr/share/php'
'--bindir=/usr/bin' '--libdir=/usr/share'
'--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/lib/php/bin'
'--with-mysql=/usr' '--with-zlib=yes' '--with-xml'
'--with-mcrypt'
'--with-mm' '--enable-trans-sid' '--enable-track-vars'
'--enable-memory-limit' '--enable-sigchild'
'--with-apxs=/usr/sbin/apxs'
'--with-oci8'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD_SER
VER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208107 -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/include/my
sql -I/opt/oracle/product/817/rdbms/public -I/opt/oracle/product/817/rdbms/d
emo
LDFLAGS: -Wl,-rpath,/opt/oracle/product/817/lib -L/opt/oracle/product/81
7/lib
LIBS: -lmm -lm -ldl -lmysqlclient -lz -lmcrypt -lltdl -lz -lcrypt -lre
solv -lm -ldl -lnsl -lresolv -lcrypt -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /opt/oracle/product/817/lib
uname -a: Linux servizi2 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC
2002 i686 unknown
gcc -o
conftest -g -O2 -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208107 -D
EAPI -Wl,-rpath,/opt/oracle/product/817/lib -L/opt/oracle/product/817/lib
conftest.c -lmm -lm -ldl -lmysqlclient -lz -lmcrypt -lltdl -lz -lcrypt -lres
olv -lm -ldl -lnsl -lresolv -lcrypt -lclntsh 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status