Re: Install Errors
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Install Errors | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-694@lists.php.net to get a copy of this message | ||
Where is your libmysqlclient.so library? And have you added its location
to your /etc/ld.so.conf file and run ldconfig?
-Rasmus
On Thu, 9 Nov 2000, Ronald Jones wrote:
>
> Trying to install PHP 4 on Redhat 6.2 system running Apache and Mysql
>
> Getting the following in the debug.log ...
>
> ____________________________________________________________________________
> _
>
> CONFIGURE: './configure'
> '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686'
> '--with-apxs=/usr/sbin/apxs'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DEAPI=1
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/include/apache -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 -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 localhost.localdomain 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST
> 2000 i686 unknown
>
> gcc -o
> onftest -g -O2 -DEAPI=1 -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i
> 686/lib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> conftest.c -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
>
> ____________________________________________________________________________
> __
>
>
> Can someone help?
>
> Thanks in Advance
>
> Ron
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>