cvs: php4 / README.Zeus

From: Date: Fri, 10 Nov 2000 16:14:00 +0000
Subject: cvs: php4 / README.Zeus
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2554@lists.php.net to get a copy of this message
joosters Fri Nov 10 08:14:00 2000 EDT Modified files: /php4 README.Zeus Log: Further updates to README.Zeus # Using LD_RUN_PATH to let the libphp4.so library find other libraries. # Surely there should be a better way, using -rpath? However, libtool # seems to swallow any extra -rpath options given to the compiler. Index: php4/README.Zeus diff -u php4/README.Zeus:1.5 php4/README.Zeus:1.6 --- php4/README.Zeus:1.5 Fri Nov 3 01:49:25 2000 +++ php4/README.Zeus Fri Nov 10 08:14:00 2000 @@ -95,6 +95,13 @@ and then 'export LD_LIBRARY_PATH'. For convenience, you should add this to the 'start-zeus' script provided. +Yet another method of ensuring the linked libraries are found is to +set the environment variable LD_RUN_PATH before compiling PHP. This +works in a similar way to LD_LIBRARY_PATH, but at compile-time. +Libraries produced with this envrionment variable set will have its +value 'burned' into the resultant binary, specifying a runtime +search pth to locate other required libraries such as MySQL. + On Linux, you can also tell the dynamic linker where to find the libraries, by adding '/usr/local/mysql/lib/mysql' to the file /etc/ld.so.conf - after editting this file, run 'ldconfig' as root,

« previous php.cvs (#2554) next »