Re: [PHP4BETA] MySQL compile problem

From: Date: Sun, 18 Jul 1999 01:33:33 +0000
Subject: Re: [PHP4BETA] MySQL compile problem
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-2215@lists.php.net to get a copy of this message
Thanks a bunch! Option (b) did not work, but (a) did. Funny, I've never had this problem compiling PHP3, or other apps that required the mysql client libs. I wonder what's different with PHP4. -J Sascha Schumann wrote: > > On Sat, Jul 17, 1999 at 09:13:44PM -0400, Juan A. Pons wrote: > > Hoping someone can elighten me. I am trying to compile B1 with MySQL > > support and I am getting the following compile error. I checked and the > > file /usr/local/lib/mysql/libmysqlclient.so.6 exists, actually it's a > > soft link to libmysqlclient.so.6.0.0. > > a) export LD_LIBRARY_PATH=/usr/local/lib/mysql > > or > > b) add /usr/local/lib/mysql to /etc/ld.so.conf and run ldconfig > > > gcc -DLINUX=2 -I/usr/local/src/php-4.0b1 > > -I/usr/local/src/php-4.0b1/libzend -I/usr/local/src/php-4.0b1/libzend > > -I/usr/local/src/php-4.0b1 -DUSE_HSREGEX ../apaci -o > > gen_test_char > > gen_test_char.o -Lmodules/php4 -L../modules/php4 -L../../modules/php4 > > -lmodphp4 -L/usr/local/src/php-4.0b1/ext/pcre/pcrelib -lpcre > > -L/usr/local/src/php-4.0b1/regex -lregex -lgdbm -L/usr/local/lib/mysql > > -lmysqlclient -lpam -ldl -lm -lcrypt -lnsl -lresolv -rdynamic -lm > > -lcrypt -lndbm > > ./gen_test_char >test_char.h > > ./gen_test_char: error in loading shared libraries > > libmysqlclient.so.6: cannot open shared object file: No such file or > > directory > > -- > > Regards, > > Sascha Schumann > Consultant > > -- > PHP 4 Beta -- ---------------------------------------- | http://motosite.com | | Your motorcycle resource on the web! | ---------------------------------------- | Juan A. Pons | | jpons@motosite.com | | '98 VFR800 - '88 NT650 (Hawk) | | AMA 368441 - HRCA | ----------------------------------------

« previous php.version4 (#2215) next »