LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora Core 10 link error for libXm (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-core-10-link-error-for-libxm-705086/)

Modest1 02-16-2009 11:07 AM

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.

Udi 02-16-2009 11:17 AM

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

knudfl 02-16-2009 01:24 PM

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

.....

knudfl 02-18-2009 08:55 AM

*
'openmotif' : probably to be build with

'sh configure --enable-static' ? To have libXm.a ?

knudfl 02-24-2009 09:39 AM

'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 !


All times are GMT -5. The time now is 12:49 AM.