Re: mysql

From: Date: Sun, 22 Oct 2000 15:57:21 +0000
Subject: Re: mysql
References: 1  Groups: php.db php.dev php.general 
Request: Send a blank email to php-dev+get-35788@lists.php.net to get a copy of this message
Hi, you've got to edit the following file: /etc/ld.so.conf And the end you must add the directory where libmysqlclient.a is standing. Bye, Tijmen On Mon, 23 Oct 2000, Cameron Brunner wrote: > i have the following problem showing up on the latest compile of php, > last time this hapnd i managed to fix it but i cant work out how i did > it. any suggestions please let me know. > > dynomyte:/home/gamr/apache1314/php-4.0.3pl1# cat debug.log > CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs' > '--enable-memory-limit' '--enable-sysvsem' '--enable-sysvshm' > '--with-mhash=/usr/local' '--enable-track-vars' '--with-dbase' > '--with-xml' '--with-mysql=/usr/local' '--with-ftp' > '--with-gd=/usr/local' '--enable-versioning' > '--enable-inline-optimization' '--enable-shmop' > '--enable-sockets' > '--without-zlib' '--with-imap=/usr/local' '--enable-bcmath' > CC: gcc > CFLAGS: -g -O2 > CPPFLAGS: -DEAPI > CXX: > CXXFLAGS: > INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend > -I$(top_srcdir) -I/usr/local/include/freetype -I/usr/local/include > -I/usr/local/include/mysql > LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib > LIBS: -lmysqlclient -lmhash -lttf -lpng -lz -lgd -lresolv -lm -ldl > -lcrypt -lnsl -lresolv > DLIBS: -lc-client > SAPI: apache > PHP_RPATHS: /usr/local/lib > uname -a: Linux dynomyte.net 2.2.13 #127 Thu Oct 21 13:13:20 CDT 1999 > i586 unknown > > gcc -o conftest -g -O2 -DEAPI -Wl,-rpath,/usr/local/lib > -L/usr/local/lib conftest.c -lmysqlclient -lmhash -lttf -lpng -lz -lgd > -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 > /usr/i386-slackware-linux/bin/ld: cannot open -lmysqlclient: No such > file or directory > collect2: ld returned 1 exit status > > > > Cameron Brunner > Director of Operations > dynomyte.net > > > -- Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't working now. Tech: Yes, you said that.

« previous php.dev (#35788) next »