> 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.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel