Operating System - HP-UX
1830850 Members
2364 Online
110017 Solutions
New Discussion

need HP_UX 11i v1 equivalent to ldconfig

 
David DiBiase
Frequent Advisor

need HP_UX 11i v1 equivalent to ldconfig

new to hpux - trying to gmake some tools and some of them are looking for ldconfig.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: need HP_UX 11i v1 equivalent to ldconfig

There is no direct equivalent in HP-UX nor is there any need for one. HP-UX uses the environment variables LD_LIBRARY_PATH and SHLIB_PATH to load shared objects. Executables can be modified using the chatr command. Man dld.sl, ldd, and chatr for details.
If it ain't broke, I can fix that.
saju_2
Respected Contributor

Re: need HP_UX 11i v1 equivalent to ldconfig

Hi David

In Linux ldconfig creates the necessary links to the most recent shared libraries found in the directories specified on the command line.
In Hp-UX if you put the directory to /etc/SHLIB_PATH file, which will create the necessary link for the recent shared libraries.

Regards
CS