Re: [PHP4BETA] New Apache Compile Problems

From: Date: Thu, 22 Jul 1999 06:24:16 +0000
Subject: Re: [PHP4BETA] New Apache Compile Problems
Groups: php.version4 
Request: Send a blank email to php-version4+get-2491@lists.php.net to get a copy of this message
I ran into the same problem. 1. either copy libmysqlclient.so.6 to a directory listed in /etc/ld.so.conf or 2. add the directory where libmysqlclient.so.6 is to /etc/ld.so.conf and then run /sbin/ldconfig Philip At 09:42 PM 1999/7/20 -0400, Michael Stearne wrote: >This is actually the problem I ment report. Same scenerio after the make >install, apache can't find my libmysqlclient.so.6, but it is in >/usr/local/lib/mysql like it should be. The error os below. > >Redhat 6.0 (2.2.5-15) 96MB, PII266 (Mobile). > >I am getting compile errors when I get to the compiling Apache part of >the installation. I can compile PHP4B1 fine using: >./configure --with-mysql --without-gd --with-apache=../apache_1.3.6 >--enable-track-vars >(I had to take gd out because of the gd 1.6 issue or whatever, it >couldn't fine gettext.c or something) >make >make install > >Then: >./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a >Works fine but when I make it, it's ok for a while then I get: > >. >. >. >gcc -DLINUX=2 -I/root/php-4.0b1 -I/root/php-4.0b1/libzend >-I/root/php-4.0b1/libzend -I/root/php-4.0b1 -DUSE_HSREGEX >../apaci >-o gen_test_char gen_test_char.o -Lmodules/php4 -L../modules/php4 >-L../../modules/php4 -lmodphp4 -L/root/php-4.0b1/ext/pcre/pcrelib -lpcre >-L/root/php-4.0b1/regex -lregex -lgdbm -L/usr/local/lib/mysql >-lmysqlclient -lpam -ldl -lm -lcrypt -lnsl -lresolv -rdynamic -lm >-lcrypt >./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 >make[3]: *** [test_char.h] Error 127 >make[2]: *** [subdirs] Error 1 >make[2]: Leaving directory `/root/apache_1.3.6/src' >make[1]: *** [build-std] Error 2 >make[1]: Leaving directory `/root/apache_1.3.6' >make: *** [build] Error 2 > > >Then it stops. /usr/local/lib/mysql/libmysqlclient.so.6 exists. > >lrwxrwxrwx 1 root root 23 Jul 20 02:32 libmysqlclient.so >-> libmysqlclient.so.6.0.0 >lrwxrwxrwx 1 root root 23 Jul 20 02:32 >libmysqlclient.so.6 -> libmysqlclient.so.6.0.0 >-rwxrwxrwx 1 root root 92017 Jul 20 02:32 >libmysqlclient.so.6.0.0 > > >Thanks, >Michael > >-- >PHP 4 Beta > >

« previous php.version4 (#2491) next »