Re: [PHP4BETA] Error in Compiling with mysql

From: Date: Fri, 23 Jul 1999 12:46:35 +0000
Subject: Re: [PHP4BETA] Error in Compiling with mysql
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2601@lists.php.net to get a copy of this message
put the path where libmysqlclient.so.6 resides into /etc/ld.so.conf then run ldconfig and it'll compile perfectly. original message: GM> I keep running into the same problem when compiling apache. The make on PHP4 goes fine, but GM> when I then try to make apache with php4 as a module I get GM> the following errors: ./gen_uri_delims >>uri_delims.h GM> ./gen_uri_delims: error in loading shared libraries GM> libmysqlclient.so.6: cannot open shared object file: No such file or directory GM> make[3]: *** [uri_delims.h] Error 127 GM> make[2]: *** [subdirs] Error 1 GM> make[2]: Leaving directory `/usr/src/apache_1.3.6/src' GM> make[1]: *** [build-std] Error 2 GM> make[1]: Leaving directory `/usr/src/apache_1.3.6' GM> make: *** [build] Error 2 GM> What I can't understand is that mysql is installed in it's default location GM> (/usr/local) and the libmysqlclient.so.6 is in /usr/lib/mysql, which is all where it is GM> normally and compiled fine in previous php versions. GM> What have I missed? GM> Geoffrey Makstutis ------------------------------------ GM> 51% Studios Ltd GM> Architecture - Design GM> 1-5 Clerkenwell Road GM> London EC1M 5PA GM> gmak@51pct.com ------------------------------------- ----------------------- [Sam](mailto:sam@breakfree.com)

« previous php.version4 (#2601) next »