This is a discussion on Can a Shared Library Path be Added to HP-UX 10.20? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi Folks, I'd like to know if there's a way to add a permanent shared library path to HP-UX ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi Folks, I'd like to know if there's a way to add a permanent shared library path to HP-UX 10.20, similar to how Linux uses ldconfig and /etc/ld.so.conf. I need to add three shared library directories so that programs will find them regardless of their environment, so $SHLIB_PATH is difficult to use. Thanks for any insight! -dreq |
| ||||
| On Tue, 04 Nov 2003 01:51:32 +0000, Derek Mark Edding wrote: > I'd like to know if there's a way to add a permanent shared library path > to HP-UX 10.20, similar to how Linux uses ldconfig and /etc/ld.so.conf. Nope. The closest thing would be to embed a search patch into the executable at link time. See "+b" option in ld(1) man-page. > I need to add three shared library directories so that programs will find > them regardless of their environment, so $SHLIB_PATH is difficult to use. Use a wrapper script or /etc/SHLIB_PATH. |