calling CERNLIB routine in a shared library

Ye Shuwei (yesw@ihp.phys.ethz.ch)
Thu, 20 Aug 1998 09:20:52 +0200 (METDST)


Hello,

I have some experience of calling CERNLIB routine in a shared library.
I used root to build a shared library, in which some hbook routines are
invoked. There is no problem to create such a shared library at DEC-Alpha/OSF1
IBM/AIX and Linux, but trouble at HP-UX(using CC -b). It complaied

ld: Invalid loader fixup symbol "$00000011"

I checked the CERNLIB mathlib, packlib and kernlib which are needed,
there is symbol of "$00000011" inside. But what is wrong with it ?

Any ideas to solve it ? Thanks.

--Shuwei