[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenGL



On Wed, Jul 05, 2006 at 05:52:26PM +0200, Francesco Pietra wrote:
> In my home directory I have a directory containg all files of a molecular 
> mechanics (MM) package compiled for 32bit and accompanied by all that needed 
> necessary to run, except those provided by either libmmotif or lesstif for 
> OpenGL graphics, which are provided by the OS. In other words, it is an 
> application that does not need any installation.
> 
> It runs correctly on my pc with debian etch 32bit.
> 
> On my machine with amd64 debian etch (only 64bit libraries) I have now 
> installed lesstif1 and copied the above directory with the MM application in 
> my home directory. However, when (on jwm window manager) trying to launch the 
> application from within its directory:
> 
> $./<applicationname> return
> bash: error while loading shared libraries: libXm.so.3: cannot open shared 
> object: No such file or directory
> 
> $apt-cache search libXm.so.3
> does not return any package
> (the same on 32bit pc, but there the MM application is launched)

To search for a file in currently installed packages use: 
dpkg -S filename

To search in all packages use:
apt-file update; apt-get search filename

apt-cache does generally not help for finding a file, since it only has
package descriptions to search.

> Is libXm.so.3 not provided by lesstif1? The application is said to run with 
> either Motif or Lesstif.

Remember a 32bit program requires the 32bit version of the library.
This is why many people use a chroot to manage 32 bit versions of files.

Len Sorensen



Reply to: