Jeff Trawick wrote:
I use some hacks for binbuild-like binary distributions on HP-UX:a) add -Wl,+s for SHLIB_PATH (you tried that)
It works nicely if you tweak libtool's archive_cmds from +b to +s +b in the hpux* section of acinclude.m4, aclocal.m4 and configure, also toggling... hardcode_libdir_flag_spec='${wl}+s ${wl}+b ${wl}$libdir' hardcode_minus_L=no and a bit further down (line after SHLIB_PATH)... shlibpath_overrides_runpath=yes