libXm.so.3 Error on Linux 64 bit

There is a common library error when trying to run a 32 bit program on Linux 64 bit and in most cases it has to do with libXm.so.3 library.

Problem

A common error may look like this...
[hagai@asmsc37 examples]$ pwd
/home/cad/gbr2mic/examples
[hagai@asmsc37 examples]$ ../bin/gbr2mic
../bin/gbr2mic: error while loading shared libraries: libXm.so.3: wrong ELF class: ELFCLASS64
[hagai@asmsc37 examples]$ 

Solution

  • Downloaded the acslib32linux.zip file
  • unzip acslib32linuz.zip in /usr/lib32
  • ln -s acslib/libXm.so.3 libXm.so.3
  • export LD_LIBRARY_PATH=/usr/lib32



  • ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
    417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com