HDFLook shared library problem on Red Hat Linux

Post Reply
gumley
Posts: 37
Joined: Thu Feb 18, 2010 2:36 pm

HDFLook shared library problem on Red Hat Linux

Post by gumley »

A while ago I received a bug report from a user who had installed the DBVM processing system used within the IMAPP VA on a computer running Red Hat Linux. The symptom was that HDFLook could not find the necessary shared libraries, as shown below:

HDFLook: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
ldd HDFLook
linux-gate.so.1 => (0xffffe000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf7f8d000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00101000)
libz.so.1 => /usr/lib/libz.so.1 (0x00345000)
libXp.so.6 => not found
libXext.so.6 => /usr/lib/libXext.so.6 (0x0035a000)
libm.so.6 => /lib/libm.so.6 (0x00bec000)
libc.so.6 => /lib/libc.so.6 (0x00aaa000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x03730000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x009ea000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00d28000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00d20000)
libdl.so.2 => /lib/libdl.so.2 (0x00c15000)
/lib/ld-linux.so.2 (0x00a8d000)

The solution turned out to be simple. The following command can be used to install the required library (sudo access is assumed):

sudo yum install libXp.so.6

This fixed the problem on the system in question (your mileage may vary).

Regards,
Liam.
Post Reply