may you give a solution for the following error
| From: | Bala krishnan | Date: | Wed, 28 Nov 2001 11:37:44 +0000 |
| Subject: | may you give a solution for the following error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5116@lists.php.net to get a copy of this message | ||
Dear all,
I have configaured mysql,apache.
when i configaure PHP, the following error occured.
CONFIGURE: './configure'
'--with-mysql=/usr/local/mysql'
'--with-config-file-path=/www/conf'
'--with-apache=../httpd' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/etc/httpd/src/include
-I/usr/local/etc/httpd/src/os/unix
-I$(top_builddir)/Zend -I$(top_srcdir)
-I/usr/include/freetype -I/usr/local/mysql/include
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql
LIBS: -lmysqlclient -lttf -lpng -lz -lgd
-lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql/lib/mysql
uname -a: Linux apache 2.4.2-2smp #1 SMP Sun Apr 8
20:21:34 EDT 2001 i686 unknown
gcc -o conftest -g -O2
-Wl,-rpath,/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient
-lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl
-lresolv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
May anybody give a solution for this ...
Thanx a lot...
Balakrishnan L R
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1