Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-30-2006, 03:51 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
how to solve the cannot find lX11

I am trying to run the Khepera simulator version 2 in Red Hat LInux 9. But after I enter the make command, I get the ff. error/messages:

/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [sim] Error 1

What do I do? And also, I've read in other posts that they just edit the makefile. I am new to Linux and would also like to ask how do you edit a makefile? Thanks...
Old 08-30-2006, 05:58 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,578

Rep: Reputation: 191Reputation: 191
You don't have development packages for X installed (libX, XFree-devel or similar package). You need to install it from the Development packages (from your installation cd). Note that you probably need more than this one. If you have space, install most of the development packages.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
g++ : ld cannot find -lX11 infinitycool Slackware 5 09-23-2004 05:48 PM
can not find lX11 problem lljxh Linux - Software 4 08-27-2003 01:58 AM
Linker problem -lX11 Flibble Linux - Software 1 06-16-2003 02:39 AM
ld -lX11 can not find -lX11 Alexop Linux - Newbie 1 08-18-2002 08:01 PM
ld -lX11 can not find -lX11 Alexop Linux - General 1 08-18-2002 07:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration