Skip to content

Commit

Permalink
Further updates to README.Zeus
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
Ben Mansell committed Nov 10, 2000
1 parent 5e33cda commit 4d48df3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.Zeus
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4d48df3

Please sign in to comment.