CVS update: php3

From: Date: Mon, 21 Jun 1999 22:07:12 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-7347@lists.php.net to get a copy of this message
Date: Monday June 21, 1999 @ 18:07 Author: jim Update of /repository/php3 In directory php:/tmp/cvs-serv18659 Modified Files: INSTALL Log Message: A little reformatting of long lines, and add note about using LD_LIBRARY_PATH (bug #1369). Index: php3/INSTALL diff -u php3/INSTALL:1.27 php3/INSTALL:1.28 --- php3/INSTALL:1.27 Sun May 16 11:38:01 1999 +++ php3/INSTALL Mon Jun 21 18:07:11 1999 @@ -52,21 +52,25 @@ > ./gen_test_char: error in loading shared libraries > libmysqlclient.so: cannot open shared object file: No such file or directory -Or it may be some other .so file. On Linux, edit your /etc/ld.so.conf file -and add the directory where the file can be found. For the MySQL case it might -be /usr/local/lib/mysql, but check to make sure. Then run 'ldconfig' and go back -to your Apache directory and type: 'make clean'. Then try compiling again. If -you are not on Linux and you see this error, a quick-fix is to create a symbolic -link to the shared lib from one of the directories on your link path. Something -like 'ln -s /usr/local/lib/mysql/libmysqlclient.so /usr/lib'. +Or it may be some other .so file. On Linux, edit your /etc/ld.so.conf +file and add the directory where the file can be found. For the MySQL +case it might be /usr/local/lib/mysql, but check to make sure. Then run +'ldconfig' and go back to your Apache directory and type: 'make clean'. +Then try compiling again. If you are not on Linux and you see this +error, a quick-fix is to create a symbolic link to the shared lib +from one of the directories on your link path. Something like 'ln -s +/usr/local/lib/mysql/libmysqlclient.so /usr/lib'. You may also be able +to set the LD_LIBRARY_PATH environment variable to include the path +to the libraries before compiling. -- If you are seeing all sorts of unresolved references trying to compile PHP with -Oracle support, try playing around with the set of libraries defined on the LIBS -line in the Apache Makefile (after you have run Apache's configure or -src/Configure script). The set and interdenpecies of libs needed to link Oracle -correctly seems to change randomly from platform to platform and from version -to version. PHP tries to figure it out, but doesn't always get it right. Reports -are that the correct Oracle-Linux set of libs is: +- If you are seeing all sorts of unresolved references trying to compile +PHP with Oracle support, try playing around with the set of libraries +defined on the LIBS line in the Apache Makefile (after you have run +Apache's configure or src/Configure script). The set and interdenpecies +of libs needed to link Oracle correctly seems to change randomly from +platform to platform and from version to version. PHP tries to figure +it out, but doesn't always get it right. Reports are that the correct +Oracle-Linux set of libs is: -L$ORACLE_HOME/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm

« previous php.dev (#7347) next »