IPS 5.02a on HPUX 10.x:Can't open shared library: /opt/audio/lib/libAlib.1



Starting Island products from IPS 5.0.2a on HPUX 10.x fails with the following error message:

/usr/lib/dld.sl: Can't open shared library: /opt/audio/lib/libAlib.1
/usr/lib/dld.sl: No such file or directory
IOT trap


To run Island products on HPUX 10.x, the HP audio libraries must be installed from the HPUX distribution CDs.


An enhancement request ER#9809 has been logged to remove the dependency on the audio libraries from Island products...

Why, you may ask, does IslandWrite link against the audio library? Choosing Help->Registration and Comments brings up a dialog which includes a simple animation featuring a surfing Island Software box with some accompanying ocean sounds...  This is not really necessary, just cute...

With the chatr command, you can check to see how the HPUX 10.x binaries are linked.  They all use the audio library.  Unfortunately, this library doesn't come in a static version which we could just link in to the binaries.

% cd $IOFFICE/bin/bin.HP
% chatr IslandWrite
         demand load executable
         shared library dynamic path search:
             SHLIB_PATH     enabled   first
             embedded path  disabled  second Not Defined
         internal name:
         shared library list:
             dynamic   /opt/audio/lib/libAlib.1
             dynamic   /usr/lib/Motif1.2/libXm.1
             dynamic   /usr/lib/X11R5/libXt.1
             dynamic   /usr/lib/X11R5/libX11.1
             dynamic   /usr/lib/libc.1
         shared library binding: