You are not logged in.

#1 2009-10-25 06:52:35

kaiger
Member
Registered: 2009-10-25
Posts: 2

How to get the library libMrm.so.3 and libuil.so.3 ?

I installed the openmotif, but still i could not found these library.:(

Offline

#2 2009-10-25 07:04:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

The current version of libMrm.so in Arch's openmotif is libMrm.so.4. What program are you trying to run that needs that specific version?

Offline

#3 2009-10-25 07:24:03

kaiger
Member
Registered: 2009-10-25
Posts: 2

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

But there is not libMrm.so.4 within /usr/lib too.
I need it to compiler the smartmodel library of XIlinx ISE.

Offline

#4 2009-10-25 07:46:09

palinux
Member
Registered: 2009-09-15
Posts: 21

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

what if you go to /usr/lib
and create a symbolic link
ln -s libMrm.so.4 libMrm.so.3

and the same with the other library.. (once you get to install'em of course)

Offline

#5 2009-10-25 16:06:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

palinux wrote:

what if you go to /usr/lib
and create a symbolic link
ln -s libMrm.so.4 libMrm.so.3

and the same with the other library.. (once you get to install'em of course)

That's a really bad way to handle the situation unless you're into nearly impossible to track bugs and breaking your system unnecessarily.


@kaiger:

pacman -Ql openmotif | grep -i libmrm
openmotif /usr/lib/libMrm.a
openmotif /usr/lib/libMrm.so
openmotif /usr/lib/libMrm.so.4
openmotif /usr/lib/libMrm.so.4.0.2

Offline

#6 2009-10-26 00:04:17

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

My advice to you, grab an old hd, install centos 4 (the server version, no gui stuff) copy the files over to arch and chroot to it.

That kind of proprietary software expects older libraries and expects them to be in different places, don't try to fix it with symlinks. Believe me, I've tried for a while but eventually things always break and the worse part is that to make the apps work you need to change so many things that later you can't remember them all to undo them, it's a time bomb and you will be asking for trouble.

Like skottish wisely says it will be near to impossible to find out where problems come from when they do, and they will. Then you will be thinking, is it a bug in the program or is it because I fed it newer libraries and messed around with the install?

Here's what yum has to say about the two libs you need (the only two if you're lucky, probably you will need to hunt for more libraries after you get these two)

$ yum provides libMrm

openmotif.x86_64                         2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib64/libMrm.so.3
/usr/X11R6/lib64/libMrm.so.3.0.2
libMrm.so.3()(64bit)

openmotif21.i386                         2.1.30-11.RHEL4.6      base            
Matched from:
/usr/X11R6/lib/libMrm.so.2
/usr/X11R6/lib/libMrm.so.2.1
libMrm.so.2

openmotif.i386                           2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib/libMrm.so.3
/usr/X11R6/lib/libMrm.so.3.0.2
libMrm.so.3

openmotif.x86_64                         2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib64/libMrm.so.3
/usr/X11R6/lib64/libMrm.so.3.0.2
libMrm.so.3()(64bit)

openmotif21.i386                         2.1.30-11.RHEL4.6      base            
Matched from:
/usr/X11R6/lib/libMrm.so.2
/usr/X11R6/lib/libMrm.so.2.1
libMrm.so.2

openmotif.i386                           2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib/libMrm.so.3
/usr/X11R6/lib/libMrm.so.3.0.2
libMrm.so.3

openmotif-devel.i386                     2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib/libMrm.a
/usr/X11R6/lib/libMrm.so

openmotif-devel.x86_64                   2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib64/libMrm.a
/usr/X11R6/lib64/libMrm.so

openmotif.x86_64                         2.2.3-10.5.el4         installed       
Matched from:
/usr/X11R6/lib64/libMrm.so.3
/usr/X11R6/lib64/libMrm.so.3.0.2
libMrm.so.3()(64bit)

openmotif.i386                           2.2.3-10.5.el4         installed       
Matched from:
/usr/X11R6/lib/libMrm.so.3
/usr/X11R6/lib/libMrm.so.3.0.2
libMrm.so.3
$ yum provides libuil
openmotif.x86_64                         2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib64/libUil.so.3
/usr/X11R6/lib64/libUil.so.3.0.2
libUil.so.3()(64bit)

openmotif21.i386                         2.1.30-11.RHEL4.6      base            
Matched from:
/usr/X11R6/lib/libUil.so.2
/usr/X11R6/lib/libUil.so.2.1
libUil.so.2

openmotif.i386                           2.2.3-10.5.el4         base            
Matched from:
/usr/X11R6/lib/libUil.so.3
/usr/X11R6/lib/libUil.so.3.0.2
libUil.so.3

openmotif.x86_64                         2.2.3-10.5.el4         installed       
Matched from:
/usr/X11R6/lib64/libUil.so.3
/usr/X11R6/lib64/libUil.so.3.0.2
libUil.so.3()(64bit)

openmotif.i386                           2.2.3-10.5.el4         installed       
Matched from:
/usr/X11R6/lib/libUil.so.3
/usr/X11R6/lib/libUil.so.3.0.2
libUil.so.3

Edit:
Typo and tried to clean/reduce the output of yum.

Last edited by R00KIE (2009-10-26 00:08:03)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2009-10-26 00:19:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

Using the libraries from another distro is definitely a viable option. Without going through all of the work of a chroot, the libraries can be put into their own directory and pointed to with LD_LIBRARY_PATH (export LD_LIBRARY_PATH=<some directory> && <executable_file>). That way the necessary shared objects are installed and the rest of system is safe from symlinking incompatible libraries.

Offline

#8 2009-10-26 15:43:39

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to get the library libMrm.so.3 and libuil.so.3 ?

I used to do it that way for libraries I couldn't find in arch, it worked but there were other problems, programs may expect older versions of other things too, like gcc. Another problem is when you try to use a 64bit system. The policy with arch is not to use the lib64 stuff because arch is a pure 64bit system and I'm ok with that but some programs will not play well with it.

A chroot might not be the only way to go around the problem, not the most elegant way and surely not the solution that requires less space, but was the way I could find to go around the problem with the skills I had. So far I'm happy with it and things work smoothly.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB