On Jun 27, 5:46 pm, t...@sss.pgh.pa.us (Tom Lane) wrote:
> Linux isn't real friendly to putting shared libraries outside the
> standard directories. If you want to keep libxml2.so in its own directory
> you'll need to teach the dynamic linker to look there. See ldconfig.
What could be more friendly than providing few ways to specify where
to look for shared libraries?
a) by changing /etc/ld.so.conf and making it permanent
b) by running ldconfig to temporary update dynamic loader cache
c) by setting LD_LIBRARY_PATH environment variable to change it for
current session only or even a single program execution