07-13-2004 01:56 AM
liba.sl relies on another shared library, liba_depend.sl. Similarly, libb.sl relies on another shared library, libb_depend.sl. The dependent shared libraries, liba_depend.sl and libb_depend.sl contain common symbol names. In other words, there are functions defined in liba_depend.sl with the same names as functions in libb_depend.sl.
The problem that I see is that the first dependent library loaded is used to resolve symbols in both liba.sl and libb.sl. The desired behavior is for liba.sl to resolve symbols using liba_depend.sl and for libb.sl to resolve symbols using libb_depend.sl. I see the desired behavior on Solaris, Linux, AIX, and Windows but observe the problem on HP-UX.
Using HP-UX 11.0 PA-RISC 2.0 and JDK 1.4.1.
Thanks in advance for any help.
Solved! Go to Solution.
07-13-2004 03:15 AM
07-13-2004 03:58 AM
ld -B direct -o libb.sl libb_depend.sl b.o ...
you need the latest linker/loader patches in both the development and runtime environments. PHSS_30965 (11.00) and PHSS_30966 (11.11) will be out tomorrow or so.
07-13-2004 07:30 AM