summaryrefslogtreecommitdiff
path: root/README.Zeus
diff options
context:
space:
mode:
authorBen Mansell <joosters@php.net>2000-11-10 16:14:00 +0000
committerBen Mansell <joosters@php.net>2000-11-10 16:14:00 +0000
commit4d48df3339a42e4862cdca45cddbfdc77bfea390 (patch)
tree43d8339f1dc0d32f20cd4ab7cf0baf75316ae3c8 /README.Zeus
parent5e33cdaef3d0d024459c7df827fd4e8d31949fb8 (diff)
downloadphp-git-4d48df3339a42e4862cdca45cddbfdc77bfea390.tar.gz
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.
Diffstat (limited to 'README.Zeus')
-rw-r--r--README.Zeus7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.Zeus b/README.Zeus
index 4ff93146a7..603dc7703b 100644
--- a/README.Zeus
+++ b/README.Zeus
@@ -95,6 +95,13 @@ you should set LD_LIBRARY_PATH to '/usr/local/mysql/lib/mysql'
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,