LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2007, 05:50 PM   #1
delnortey
LQ Newbie
 
Registered: Sep 2007
Location: Arlington WA
Distribution: Fedora C5
Posts: 7

Rep: Reputation: 0
common problem, libXm.so.3 dependancy


Using FC5 2.6.20 i386 KDE 3.5.5
Attempting to install DISLIN-9.1.linux.rpm // for use by python
error is libXm.so.3 required

I found several similar postings in the various forums. The
stated solutions so far havent worked for me:
(1) Install openmotif // I have Openmotif 2.3.0 which includes
/usr/lib/libXm.so.4 and /usr/lib/libXm.so.4.0.0

(2)symlink libXm.so.3 -> libXm.so.4.0.0 // this made no difference
(3) check permissions // permissions on the link are root root 777

Any more suggestion?
-
 
Old 09-03-2007, 07:05 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As a suggestion try installing openmotif22 from CentOS5, for examples and direct links;

32-bit: http://isoredirect.centos.org/centos....3-18.i386.rpm
64-bit: http://isoredirect.centos.org/centos...-18.x86_64.rpm
 
Old 09-03-2007, 08:30 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Try installing openmotif22 if it is available. It should supply those libraries. Another thing to try is running "sudo /sbin/ldconfig" so that the system notices the link you made.

---

Oops, I had download dislin and the manuals before posting. My research took to long and someone already posted a similar suggestion.

---

I just installed it on SuSE 10.2. I added both /usr/local/dislin and /usr/local/dislin/lib to /etc/ld.so.conf and ran ldconf. I also installed the most recent and the openmotif22 and the openmotif devel package versions.

Last edited by jschiwal; 09-03-2007 at 08:48 PM.
 
Old 09-03-2007, 08:39 PM   #4
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
The version here:
ftp://ftp.gwdg.de/pub/grafik/dislin/...1.linux.tar.gz
appears not to be linked against libXm.so.3. I didn't install it, so I'm not sure, but I examined all the binaries. Too bad the source code is not distributed (except for a fee).
 
Old 09-03-2007, 09:28 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You can rebuild the source rpm file:

http://isoredirect.centos.org/centos...2.3-18.src.rpm

rpmbuild --rebuild --recompile openmotif22-2.2.3-18.src.rpm

it is up to you to meet the dependencies if any are required.
 
Old 09-04-2007, 12:05 AM   #6
delnortey
LQ Newbie
 
Registered: Sep 2007
Location: Arlington WA
Distribution: Fedora C5
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

Never mind ----
Thanks for all the suggestions --

My problem was that I should have added --nodeps to the rpm
install command after making the link:
libXm.so.3 -> libXm.so.4.0.0

Dislin/python are now working fine

Regards,
Delnortey
 
Old 09-11-2007, 08:08 PM   #7
TRAyres
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
I'm sorry, how did you get this to work? I've got openmotif and its libraries, but I still get this error. How did you symlink these two things?

Using openSUSE 10.2 64 bit, trying to run Z88 (a FEA program).
 
Old 09-13-2007, 09:13 PM   #8
TRAyres
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
bumpity bump? I'm still trying to figure this out.
 
Old 09-14-2007, 12:13 AM   #9
delnortey
LQ Newbie
 
Registered: Sep 2007
Location: Arlington WA
Distribution: Fedora C5
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TRAyres View Post
I'm sorry, how did you get this to work? I've got openmotif and its libraries, but I still get this error. How did you symlink these two things?

Using openSUSE 10.2 64 bit, trying to run Z88 (a FEA program).
=====================================================================
I linked libXm.so.3 to libXm.so.4.0 with:
ln -s libXm.so.4.0 libXm.so.3
Then I did:
rpm -ivh --nodeps dislin-9.1.linux.rpm

And it worked.

Make sure you check which version of libXm.so.4 you have, it may not be
exactly as shown above.
The --nodeps just tells rpm not to do any dependancy checks,
since libXm.so.4 is an update of libXm.so.3, the linker is
happy.

Good luck
Regards,
Delnortey
 
Old 09-14-2007, 11:43 AM   #10
TRAyres
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
It worked! Thanks so much.

My problem was that I was linking things in /usr/lib, but then I realized there was a /usr/lib64, so I tried linking libXm.so.4 to libXm.so.3, but libXm.so.4 was (according to the find tool in gnome) a link, so instead I linked to libXm.so.4.0.0 as so:

Code:
ln -s libXm.so.4.0.0 libXm.so.3
while in the /usr/lib64 directory (working directory). But z88's RPM installer was still giving me hell about the dependencies, so I use what you said:

Code:
rpm -ivh --nodeps z88_12_0_1_x86_64.rpm
And it worked! Hooray! :: dances ::
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dependancy problem libadns.so.1 dasy2k1 SUSE / openSUSE 2 04-05-2007 02:21 AM
Dependancy Problem with epplets EcoR1 Linux - Desktop 7 01-11-2007 08:39 PM
ooodi dependancy problem linmix Linux - Software 2 07-17-2005 04:36 PM
Re: /bin/sh rpm dependancy problem MunCH Slackware 5 09-13-2004 05:49 AM
RPM dependancy problem glj Linux - Software 15 07-24-2001 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration