try suing "--with-mysql" instead of "--with-mysql=/usr/local/mysql-3.23.51".

--fabio moraes.

-----Original Message-----
From: Chad Kellerman [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 26 de agosto de 2002 13:43
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Redhat 7.3 install help.


Hi guys,

  I am new to the list.  I have built php a few times before but I have
not run into anything this strange.

I am building php on a RH 7.3 with mysql for a Virtual Domain server.

Here is my configure line:

./configure --with-apxs=/etc/httpd/bin/apxs --enable-force-cgi-redirect
--disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-gd --enable-dbase
--enable-gd-native-ttf --with-gdbm --with-gettext --with-regex=system
--with-ttf --with-xml --with-zlib --enable-bcmath --enable-debugger
--enable-ftp --enable-sockets --enable-track-vars --enable-trans-sid
--with-mysql=/usr/local/mysql-3.23.51
--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc
2.1 --disable-posix-threads --with-curl --with-mcrypt --with-jpeg
--with-png --with-openssl

nothing outta the ordinary.

The configure is fine when I go to do a make I get this error:

/usr/bin/ld: cannot find -lmysqlclient

I know about the ld.so.conf file, but look:

 
locate mysqlclient
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10.0.0
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.la
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.a

and:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/lib
/usr/local/mysql-3.23.51/lib

I even put 
/usr/local/mysql-3.23.51/lib/mysql

 in ther because I was desparate.  I have run /sbin/ldconfig even with a
-v option and I can see it loading.

But the error still comes up.

Anyone know what I am missing??


Thanks,
Chad

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

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

Reply via email to