I thought I knew how SHLIB_PATH works, apparently I was wrong. My problem is this:
On a new itanium box running 11.23 I'm installing ImageMagick. All packages are taken from the porting archives. When I try a simple conversion (jpg to gif) I get this:
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module '/usr/local/lib/hpux32/libMagick.so'.
Searching the forums tells me that these symbols are part of libgcc (libgcc.a). With hp-gcc installed and the porting archives libgcc package, I have libgcc.a in the following places:
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a
/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/libgcc.a
/usr/local/lib/hpux32/libgcc.a
/opt/hp-gcc-4.1.1/lib/gcc/ia64-hp-hpux11.23/4.1.1/hpux64/libgcc.a
/opt/hp-gcc-4.1.1/lib/gcc/ia64-hp-hpux11.23/4.1.1/libgcc.a
The 64-bit ones are obviously off, but how do I write my SHLIB_PATH to get this working? I just can get this to work, is the only way forward to compile from source? Who's being stupid, me or the box?