On Mon, 31 Dec 2018, Pierluigi Frullani wrote:

5. When linking use -R to point to the installed location of the libraries.

That's fine with me, ( and eventually I will try to modify all the
makefiles, but I hoped it would have already been done by configure ( wich
obviously has not :)

One way to I got around the shared library version snarl (and this is especially
relevant for openssl where I had many versions installed) is to configure the
default library runpath to a directory that should be searched first e.g.

          crle -l /mylibs:/lib:/usr/lib:/usr/local/lib

so that /mylibs will be searched first, then the rest.  You can symlink
your libraries there.  However, be aware that all executables (unless
overidden by LD_LIBRARY_PATH) will be affected.  I also did this to
make dovecot NFS fault tolerant as it didn't depend on shared libraries
located on NFS filesystems.

Joseph Tam <jtam.h...@gmail.com>

Reply via email to