Sorry for this second post but I realized I had to supply more details..
Hi there,
I'm trying to compile PHP 4.1.2  as an Apahce module on a standard Suse Pro
8.0 distro.
This is my Configure string:

./configure --prefix=/usr/share --datadir=/usr/share/php --bindir=/usr/bin -
-lib
dir=/usr/share --with-config-file-path=/etc/httpd --with-exec-dir=/usr/lib/p
hp/b
in --with-mysql=/usr --with-zlib=yes --with-xml --with-mcrypt --with-mm --en
able
-trans-sid --enable-track-vars --enable-memory-limit --enable-sigchild --wit
h-ap
xs=/usr/sbin/apxs --with-oci8

As you can see I need both Oracle8 and Mysql support and, in my past
experiences everything always worked right.I used this very same string on a
standard SuSE Pro 7.3.
 Now.. the config utility 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. I have also intalled the dev files for
mySQL
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


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

Reply via email to