Operating System - HP-UX
1834660 Members
2274 Online
110069 Solutions
New Discussion

transitive closure of "chatr +s enable" on series of dependencies

 
Banibrata Dutta
Frequent Advisor

transitive closure of "chatr +s enable" on series of dependencies

Hi,

Consider the following example:-
App -> libA -> libB -> libC
i.e, the application "App" has dependency on libA, which inturn has dependency on libB and so on. Actually "App" demand-loads "libA.sl".

Also, "search SHLIB_PATH" attribute is disabled for libA, libB, libC, but is enabled for "App".

Given the above, is it true that "search SHLIB_PATH" property will be true when libA requires loading of libB, and libB requires loading of libC ?

Is there a document which explains this behaviour clearly ?

thanks,
bd
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: transitive closure of "chatr +s enable" on series of dependencies

Hello Banibrata,

As far as I know SHLIB_PATH is searched left to right as teh compiler looks for what it needs to do its job.

You change the behavior of the process by changing the content of the variable.

Few interesting links.

http://lists.trolltech.com/qt-interest/2000-06/thread00048-0.html

http://www.mozilla.org/unix/hpux.html

My search, which might require refinement.
http://www.google.com/search?q=SHLIB_PATH+hp+ux&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
There may be something browser specific in there. If so, lift the keywords and re-run the search.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com