missing libs
| From: | Harbinder Singh | Date: | Thu, 28 Feb 2002 13:14:51 +0000 |
| Subject: | missing libs | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6191@lists.php.net to get a copy of this message | ||
Hi all,
Im installing php-4.1.2 on Solaris 8.
this is the configure command:
./configure --with-mysql=/usr/local/mysql --with-xml
--with-apxs=/usr/local/apache/bin/apxs --enable-track-vars
and then this is what Im getting ...
bash-2.03# more debug.log
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
'--with-xml'
'--with-apxs=/usr/local/apache/bin/apxs' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208106
-DEAPI -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
-I/usr/local/mysql/include/mysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/usr/local/mysql/lib -L/usr/local/mysql/lib
LIBS: -lmysqlclient -lcrypt -lresolv -lresolv -lresolv -lm -ldl
-lnsl -lsocket -lsocket -lgcc -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 /usr/local/mysql/lib
uname -a: SunOS khalsa-uk 5.8 Generic_108528-13 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
-DMOD_SSL=208106 -DEAPI -DUSE_EXPAT -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/usr/local/mysql/lib -L/usr/local/mysql/lib conftest.c -lmysqlclient
-lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket
-lgcc -lcrypt 1>&5
ld: fatal: library -lmysqlclient: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
I've searched all the libraries and I cant find the thing.. what am I
doing wrong?
Harbinder