Results 1 to 4 of 4
Hi all,
i try to compile a program with X11 lib (use -lX11 flag) and get error
/usr/bin/ld: cannot find -lX11
Does that mean I have to install X11? I ...
- 11-10-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
X11 problem
Hi all,
i try to compile a program with X11 lib (use -lX11 flag) and get error
/usr/bin/ld: cannot find -lX11
Does that mean I have to install X11? I cannot believe it is not installed. I have a pretty standard Fedora installation. I have /usr/X11R6 directory full of stuff. Can anyone suggest what is wrong here? Thanks.
- 11-10-2006 #2
I'm not sure about Fedora, but with many binary distros, you need the -dev version of a package when compiling something which needs said package. For example, if I wanted to compile X by hand in Debian, and X needed package Y, I would use Debian's apt-get to install the package called Y-dev (for 'development').
- 11-11-2006 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
okay.. does that mean I have to reinstall X11 now? X11 seems to be a heavy thing... tried to browse the web an X11-dev does not seem easy to find...
- 11-11-2006 #4
X11 dev packages are in installation DVD/CDs. install from it.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote