It is currently Sat, 25 May 2013 14:11:03 GMT



 
Author Message
 libXm.so.2: cannot open shared object file: No such file or directory
Hi,
I just installed lesstiff-0.91.0 (source) on my slack 4.0 kernel 2.2.5
system.
Ran the make install. However, when I do an ldd "filename" on the
program that requires
this library, i get

 libXm.so.2 => not found

there is a slink in /usr/local/lib/ to the real file which is located in
/usr/local/LessTif/Motif/lib
as shown below

bash# ls -l libXm.so.2
lrwxrwxrwx   1 root     root           34 May 25 21:45 libXm.so.2 ->
../LessTif/Motif2.0/lib/libXm.so.2

/usr/local/lib is in my /etc/ld.so.conf file. I also tried running
ldconfig but that did not help.
I also added /usr/local/LessTif/Motiif2.0/lib to the /etc/ld.so.conf
file then running ldconfig
but with the same results.

Any Ideas what I am doing wrong. BTW the make install uses libtool to
install the shared library

Thanks

Dave



 Wed, 18 Jun 1902 08:00:00 GMT   
 libXm.so.2: cannot open shared object file: No such file or directory

David,

Have you added the new libraries dirs in the /etc/ld.so.conf?
That's necessary. For example, mine looks like:

   /usr/X11R6/lib
   /usr/i486-linux-libc5/lib
   /usr/lib/qt-1.45/lib
   /usr/local/qt/lib
   /usr/local/Mesa/lib
   /usr/local/lesstif/lib

After making changes, you have to run: /sbin/ldconfig  as root.

However, have you heard that OpenMotif is available:

     www.opengroup.org/openmotif

I'm running it on my RH 6.2 Linux PC. Runs like a charm!
No need for lesstif anymore.

Rob.

--
dr. R.J.W.E. Lahaye
Center for Ion-Surface Reaction
Department of Chemistry
Pohang University of Science and Technology
San 31 Hyojadong, Namgu
790-784 Pohang, Kyungbuk
Republic of Korea

Tel : +82-562-279-2780
Fax : +82-562-279-8157
email: lah...@postech.ac.kr



 Wed, 18 Jun 1902 08:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. libXm.so.2: cannot open shared object file: No such file or directory

2. libgtk.so.1: cannot open shared object file: No such file or directory

3. libmp3lame.so.0: cannot open shared object file: No such file or directory

4. Can't open shared file object (libXmu.so.6) No such file or directory

5. libtk8.0.so: cannot open shared object file

6. Linux-Netscape6 on FreeBSD 3.2 : libstdc++-libc6.1-1.so.2: cannot open shared object file

7. Apache-2 libssl.so.0: cannot open shared object file:

8. libmysqlclient.so.6: cannot open shared object file?

9. Suse: "cannot open shared object file"


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software