On vendredi 6 juillet 2007, Joost van Duijn wrote: > Thanks for the pointers! I got the libXm.so.3 by installing the libmotif > package. At first I was still getting the same problem, however putting a > symbolic link into /usr/lib32/ to the correct file made it find the file, > but it is now giving me the following error message. > > ./winplotr_2006: error while loading shared libraries: libXm.so.3: wrong > ELF class: ELFCLASS64 > > Of course as I have the 64 bit version of Ubuntu it won't let me install > the 32 bit version of the package, which I am assuming should work. > > Not sure if there is a work around this other then getting a version of > winplotr_2006 which is compiled on a 64 bit machine. However I find it > strange that all the other programs seem to work fine.
Many distributions (I use Mandriva) allow both libraries to be present, with 32bit ones in /usr/lib and others in /usr/lib64. I don't know how Ubuntu handles this. To be honest, latest 64bits machines I had, I installed in 32bits to avoid this type of problem. Vincent -- Vincent Favre-Nicolin Université Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net