can't load library libXm.so.2 (Yes, I do have Motif)

can't load library libXm.so.2 (Yes, I do have Motif)

Post by Heiko Selb » Wed, 04 Dec 1996 04:00:00



Hi,

after upgrading from Linux 1.2.13 (Slackware) to Linux 2.0.6 all the
Motif-linked executables have a problem: that is, they don't run.

Like this:
rudi:~$ xmgr
xmgr: can't load library 'libXm.so.2'

If I am not wrong this error message means that the library is found but
somehow doesn't fit.

The executables and the libraries have stayed the same, only the OS has
changed.

The files should fit, because 'file' says:

rudi:~$ file /usr/X11/lib/libXm.so.2.0
/usr/X11/lib/libXm.so.2.0: ELF 32-bit LSB shared object, Intel 80386, versi\
on 1, stripped
rudi:~$ file /usr/local/bin/xmgr-3.01pl7
/usr/local/bin/xmgr-3.01pl7: ELF 32-bit LSB executable, Intel 80386, versio\
n 1

The same applies for executables that came with the distribution,
like 'gimp'.

Can someone tell me what is wrong?

Thanks, Heiko
-----------------------------------------------------------------------------
Heiko Selber (Fritz-Haber-Institut Berlin)   | Vs lbh pna ernq guvf       |
http://www.fhi-berlin.mpg.de/~selber         | lbh unir jnfgrq lbhe gvzr. |

Phone:+49-30-8413-4574, Fax:+49-30-8413-4686 |____________________________|

 
 
 

can't load library libXm.so.2 (Yes, I do have Motif)

Post by Heiko Selb » Thu, 05 Dec 1996 04:00:00


: after upgrading from Linux 1.2.13 (Slackware) to Linux 2.0.6 all the
: Motif-linked executables have a problem: that is, they don't run.

When I move the Motif libs to /usr/lib they are found and loaded.

Why are they not found when they live in /usr/X11R6/lib?

How can I make them found?

How do I find out where the dynamic link loader (does such a thing exist
and if it does is this the right name?) looks for them?

Heiko
-----------------------------------------------------------------------------
Heiko Selber (Fritz-Haber-Institut Berlin)   | Vs lbh pna ernq guvf       |
http://www.fhi-berlin.mpg.de/~selber         | lbh unir jnfgrq lbhe gvzr. |

Phone:+49-30-8413-4574, Fax:+49-30-8413-4686 |____________________________|

 
 
 

can't load library libXm.so.2 (Yes, I do have Motif)

Post by B.A.McCau.. » Fri, 06 Dec 1996 04:00:00




>: after upgrading from Linux 1.2.13 (Slackware) to Linux 2.0.6 all the
>: Motif-linked executables have a problem: that is, they don't run.

>When I move the Motif libs to /usr/lib they are found and loaded.

>Why are they not found when they live in /usr/X11R6/lib?

Is /usr/X11R6/lib in your ld.so.conf?

Quote:>How do I find out where the dynamic link loader (does such a thing exist
>and if it does is this the right name?) looks for them?

The dyanmic linkers are /lib/ld.so (a.out) and /lib/ld-linux.so.1
(ELF).  "man ld.so" will give some info, most of which is also
applicable to the ELF version.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/