I usually perform the following steps to add "libmysqlclient" to the area
'read' by other programs looking for libraries... (others prefer to add the
mysql 'lib' area to the LIBPATH) I think the version you'll have with
mysql.3.22.xx is "libmysqlclient.so.4", but you should check...
system:/opt/install/mysql-3.23.39> cd /usr/lib
system:/usr/lib> ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10
----- Original Message -----
From: "Brian Clark" <[EMAIL PROTECTED]>
To: "Steve Brazill" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 7:05 AM
Subject: Re: [PHP-INST] Configuration Error!
I am not sure, but here is the debug.log since it looks like it did not send
right on my first message.
CONFIGURE: './configure'
'--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/'
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.12/include -I$(top_builddir)/Zend -I$(top_
srcdir) -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql -L
/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
LIBS: -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
uname -a: Linux bc1 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
gcc -o
conftest -g -O2 -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/m
ysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
conftest.c -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lre
solv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
----- Original Message -----
From: Steve Brazill
To: Brian Clark
Cc: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 10:26 PM
Subject: Re: [PHP-INST] Configuration Error!
Is the 'configuration error' the fact that you're using a very old (and
exploitable) version of Apache ?
----- Original Message -----
From: Brian Clark
To: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 6:36 PM
Subject: [PHP-INST] Configuration Error!
OS: Red Hat 7.0
Apache: 1.3.12
MySql: 3.22.32
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]