Help answer threads with 0 replies.
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-18-2002, 07:02 PM   #1
LQ Newbie
Registered: Aug 2002
Posts: 25

Rep: Reputation: 15
ld -lX11 can not find -lX11

I am still trying to compile xv.
as I understand ld trying to link libX11.a etc
I find those files in /usr/X11R6/lib
so I add this dir and also /usr/X11R6/incude (X11headers)
to PATH varible but during compile I have the same error
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [xv] Error 1

what 's wrong?

I also tried to modify Makefile to
LIDDIR = /usr/local/lib:/usr/X11R6/lib
Old 08-18-2002, 08:01 PM   #2
LQ Newbie
Registered: Aug 2002
Posts: 25

Original Poster
Rep: Reputation: 15
nether mind I fixed it.


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
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 04:07 AM
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 - General 1 08-18-2002 07:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 AM.

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