Bug 178735

Summary: /usr/bin/ld: cannot find -lXm
Product: [Fedora] Fedora Reporter: Maxwell Bottiger <sleepylight>
Component: libXmuAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-23 21:34:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maxwell Bottiger 2006-01-23 21:09:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
I'm trying to build an app that ran ok under Fedora 4.  The application doesn't seem to be able to use the new locations of the libXmu packages.  Below is the compiler error:

/usr/bin/g++  -fpermissive -Werror -Wformat -pipe   -D_REENTRANT -malign-double  -I/tmp/OTB -I. -I../../include/global -I/tmp/OTB/include/libinc -I/tmp/OTB/include -I.     -c -o depends.o depends.c
/usr/bin/g++  -fpermissive depends.o  -L/tmp/OTB/lib    -lreadline -ltermcap -lXmu -lXm -lXp -lXpm -lXt -lXext -lSM -lICE -lX11  -lm -lpthread  -ldebugutil -o depends
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make[1]: *** [depends] Error 1
make: *** [depends] Error 2


I see that lots of the X libraries have changed location.  How should this application be linked?

Version-Release number of selected component (if applicable):
libXmu-devel-1.0.0-1

How reproducible:
Always

Steps to Reproduce:
1../confgure
2.make
3.
  

Actual Results:  /usr/bin/ld: cannot find -lXm

Additional info:

Comment 1 Maxwell Bottiger 2006-01-23 21:34:54 UTC
This was fixed by installing openmotif-devel, libXpm-devel, and libXp-devel