Re: [PHP4BETA] MySQL compile problem

From: Date: Sun, 18 Jul 1999 01:13:45 +0000
Subject: Re: [PHP4BETA] MySQL compile problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2211@lists.php.net to get a copy of this message
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

« previous php.version4 (#2211) next »