Ask A Question
 
Pidarazzz
Fresh Boarder
Blog Posts: 0
Forum Posts: 11
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #1
I'm installing a package (sm). The Makefile uses a variable X11 defined in an options.h file. X11 is used by e linker as /usr/bin/ld -lX11 ...

I tried (in options.h) #define X11 /usr/X11R6/lib/X11

or

#define X11 (blank)

or

#define X11 /usr.X11R6/lib

or others, but I still get the message cannot find -lX11

X seems to be working fine apart from this. What is this?
Answer
sophia8
Fresh Boarder
Blog Posts: 0
Forum Posts: 10
Rating: 0ApplaudCriticize
Posted 1 Year, 4 Months ago #2
In Redhat 6.2 (upgrade! 8.0 is out!), libX11.a is in the X development packages. These packages are on your distro CDs somewhere; they almost certainly match the glob '*X*devel*'. If these packages are not installed, you will get errors very similar to the ones you describe above. Install those packages, then try compiling again. HTH,
Answer

Spread the Word!

Four out of five users would recommend us to a friend. Shouldn't you?
Link to Us    Tell a Friend

Related Posts:

The Content on this site is provided for general information purposes only. Your use of the Content, or any part thereof, is made solely at Your own risk and responsibility. By entering this site you declare you read and agreed to its Terms, Rules & Privacy.
Copyright © 2006 - 2010 My Linux Gang