[PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

rand at sent.com rand at sent.com
Thu Dec 12 14:25:20 UTC 2013

> Setting LD_LIBRARY_PATH in environment might work,
> please consult with your runtime linker documentation.
> Some runtime linkers allow you to override paths
> enforced by -rpath, see LD_LIBRARY_PATH_RPATH in
> http://man.freebsd.org/rtld for one such example.
> But this has nothing to do with nginx.

env vars are the wrong solution for runtime servers' lib links.

rpath is the correct approach -- it's insensitive to environment.

if nginx searches for and builds against a given instance of a lib, then
the resultant binary should be linked against the specified lib --
consistently & persisently.

again, the -Wl,-rpath ldopt spec takes care of it correctly.

that IS an nginx issue, inansmuch as it's a choice to correctly rpath
specified/found libs, or not.

More information about the nginx-devel mailing list