On Thu, Apr 05, 2001 at 01:55:31PM -0700, Guy Harris wrote:
> Well, that's irritating. The UNIX 98 spec includes "dlopen()" and
> friends; It Would Have Been Nice had they implemented "dlopen()" in
> 32-bit mode as well, either by building it atop the "shl_" interface,
> adding it and making the "shl_" routines into wrappers, or having an
> mechanism that supports both APIs, depending on whether shl_ is a
> superset of dl*, dl* is a superset of shl_, or neither is a superset of
> the other.
I am running 10.20, so my knowledge about 11 is from the paperwork.
Having this said: they have changed the binary format between 32bit
(COFF?) and 64bit (ELF?), so on a 64bit HP-UX 11 machine you have
a complete second set of shared libraries. I don't know whether it would
have been possible to emulate dl_open() in 32bit mode. Actually, HP-UX
10.20 is from 1996 and 32bit mode is compatible back down to...
(I don't really know but at least one decade).
There is more behind it, as there is also no support for LD_LIBRARY_PATH,
shared libs are named .sl instead of .so and typically the library names
including the load path are hard compiled into the executables.
So probably it would be really difficult to provide a full emulation layer
without breaking compatibility at some point.
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke@xxxxxxxxxxxxxxxxx
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153