My Profile

Keep Up to Date:
Blog RSS
Blog
Forum RSS
Forum
Search

Buy & Sell

Used (Like New) $20

Post New Topic Post Reply
Posted 1 Year, 3 Months ago
Pidarazzz
Fresh Boarder
Posts: 11
graphgraph
User Offline
 
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?
The administrator has disabled public write access.
Posted 1 Year, 3 Months ago
sophia8
Fresh Boarder
Posts: 10
graphgraph
User Offline
 
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,
The administrator has disabled public write access.
 
Copyright © 2006 - Jan 2009 My Linux Gang