Operating System - HP-UX
1830238 Members
3462 Online
109999 Solutions
New Discussion

Programming library availability

 
SOLVED
Go to solution
Joseph Dumbra
New Member

Programming library availability

I'm supporting some developers on HP-UX B10.20. In trying to build a static distribution for our product, one of our developers requested/required a specific lib (libdld.a)

All my research @ HP site indicates HP-UX 11.x pre-req. and "add-on" STK package.
- Can someone verify this pre-req.?
- Is there an alternate location/package for 10.20?

Thanks in advance

JMD
6 REPLIES 6
Thomas Schler_1
Trusted Contributor

Re: Programming library availability

Hi,

I searched in various sources for libdld.a.

o a search on the whole system (10.20 and 11.00) shows up any libdld.a

o a search on extensive software depots containing HP-UX SW shows up any libdld.a

o a search on the patch database of ITRC shows up any libdld.a

o a search on the technical knowledge database of ITRC shows up any libdld.a


I'm not a developer specialist, but I would assume the file libdld.a to be somewhere at the places I looked for. Are you sure your developer really needs a file called libdld.a?
no users -- no problems
Joseph Dumbra
New Member

Re: Programming library availability

Thanks for you question.

I found pretty much the same results in my "OS-specific" searches, but I came upon the STK, which references this file, by performing a General search at the HP Homepage.

I developer-challenged myself, so if there is a different forum I should be posting on please let me know.

JMD
Steven Gillard_2
Honored Contributor
Solution

Re: Programming library availability

You can't find it because it doesn't exist... libdld contains the "dynamic loader" routines, which means its whole purpose is to load shared libraries. Therefore it exists only in shared (.sl) form.

For more information have a read of the linker and libraries user guide:

http://docs.hp.com/hpux/onlinedocs/B2355-90655/B2355-90655.html

Cheers,
Steve
Steve Steel
Honored Contributor

Re: Programming library availability

Hi

It indeed doesnt exist


Use -l in your link command to pickup libdld.sl



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Deepak Extross
Honored Contributor

Re: Programming library availability

libdld is a dynamic loader used by the OS to load the required shared libraries just prior to running the executables.
Why would your developer want to include it as part of the executable?
Joseph Dumbra
New Member

Re: Programming library availability

Thanks all,

After more research I came to the same conclusion and informed said developer. Not sure I convinced him but I did print out the text in "black & white" so he could see it.

Thanks for all the help.

JMD