LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2009, 12:07 PM   #1
Modest1
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Rep: Reputation: 0
Fedora Core 10 link error for libXm


Hi,
I got new comp and install Fedora... latest (10)
When I tried to compile and link my GEANT3 project, I got an error:
no libXm
Actually, I did not found libXm.a at all, only LibXm.so
What's wrong?
Is FC10 not based on X11?
what should I do in this case?
Any hints?
- Alex.

Last edited by Modest1; 02-16-2009 at 12:09 PM.
 
Old 02-16-2009, 12:17 PM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
It's part of libmotif, right?

Make sure you have the dev package installed in addition to the bin package, otherwise you won't be able to build from source code that links to it. I don't have Fedora but I guess the way you need to install it is by:

sudo yum install libmotif-dev
 
Old 02-16-2009, 02:24 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

libXm.so is usually the one asked for.

Package = 'openmotif-devel' ... may be reinstall ?

# yum install openmotif-devel , if it is available ?

The source code is here
ftp://ftp.ics.com/openmotif/2.3/2.3....f-2.3.0.tar.gz

.....

Last edited by knudfl; 02-18-2009 at 09:50 AM.
 
Old 02-18-2009, 09:55 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
*
'openmotif' : probably to be build with

'sh configure --enable-static' ? To have libXm.a ?
 
Old 02-24-2009, 10:39 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
'lesstif.i386' : OSF/Motif(R) library clone
'lesstif' and 'lesstif-devel' are included in the
"rpmfusion repository"
http://rpmfusion.org/Configuration

Please click this line on the site :
' RPM Fusion free for Fedora 8, 9 or 10 '
and
' RPM Fusion nonfree for Fedora 8, 9 or 10 '

to download 2 small packages with repositories,
install them with # rpm -Uvh <package>
and the repositories will be set up automatically in /etc/yum.repos.d

( Or use " Command Line Setup using rpm " )

Good luck !
 
  


Reply

Tags
fc10


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wine for FEDORA CORE 6 - LINK ? linusunis Linux - Software 5 06-14-2008 07:43 PM
Link to Fedora Core 6 Security updates thiagarn Linux - Newbie 1 01-11-2008 01:21 AM
Fedora Core 1 dynamic link error yamaduc Linux - Software 2 05-26-2004 08:49 PM
Motif libXm.so.2 install error degraffenried13 Linux - General 0 01-25-2004 06:07 PM


All times are GMT -5. The time now is 10:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration