Missing library errors on 64 bit Linux.

QCKVU 64 bit Linux will report missing libraries when they are not available on the system or not in the path.
The error message may look like the following...


libXm.so.3 => not found
libXt.so.6 => /usr/X11R6/lib64/libXt.so.6

Solution.

Please run the ldd command on qckvu or qckvu64 to see what libraries does it need. The output may look something like this..
asmsc37:hagai: $ pwd
/home/cad/qckvu/bin
asmsc37:hagai: $ ldd qckvu
        libXm.so.3 => /usr/X11R6/lib64/libXm.so.3 (0x000000312ea00000)
        libXt.so.6 => /usr/X11R6/lib64/libXt.so.6 (0x0000003132100000)
        libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x000000312e600000)
        libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x000000312e800000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003135d00000)
        libSM.so.6 => /usr/X11R6/lib64/libSM.so.6 (0x000000312f000000)
        libICE.so.6 => /usr/X11R6/lib64/libICE.so.6 (0x000000312ee00000)
        libXp.so.6 => /usr/X11R6/lib64/libXp.so.6 (0x000000312e200000)
        libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x0000002a95579000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95754000)
        libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a958da000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x000000312df00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003132900000)
        libXmu.so.6 => /usr/X11R6/lib64/libXmu.so.6 (0x0000003132300000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000312e400000)
        /lib64/ld-linux-x86-64.so.2 (0x000000312dd00000)
asmsc37:hagai: $ 

The next step is to check if these libraries exist on your computer. There are multiple directories to look for: the X libraries are in /usr/X11R6/lib64 and the non-X libraries are in /usr/lib64 .


$ ls -l /usr/X11R6/lib64/libXm.so*
lrwxrwxrwx  1 root root      14 Feb 26  2006 /usr/X11R6/lib64/libXm.so -> libXm.so.3.0.2
lrwxrwxrwx  1 root root      14 Feb 26  2006 /usr/X11R6/lib64/libXm.so.3 -> libXm.so.3.0.2
-rwxr-xr-x  1 root root 2704544 Nov 29  2004 /usr/X11R6/lib64/libXm.so.3.0.2

$ ls -l /usr/lib64/libstdc++.so*
lrwxrwxrwx  1 root root     18 Feb 26  2006 /usr/lib64/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x  1 root root 825496 Dec  1  2004 /usr/lib64/libstdc++.so.5.0.7
lrwxrwxrwx  1 root root     18 Feb 26  2006 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.3
-rwxr-xr-x  1 root root 910104 Dec 14  2004 /usr/lib64/libstdc++.so.6.0.3

If the library files as listed in the ldd output are not there, then you need to install the library set from the OS DVD. Xm is Motif and stdc++ is the C++ runtime libraries.