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. |
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 |
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 ..... |
*
'openmotif' : probably to be build with 'sh configure --enable-static' ? To have libXm.a ? |
'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. |