LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 08-18-2002, 06:11 PM   #1
Alexop
LQ Newbie
 
Registered: Aug 2002
Posts: 25

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


ld -lX11
can not find -lX11

I am still trying to compile xv.
as I understand ld trying to link libX11.a ...libX11.so 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, 06:24 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please refrain from double posting. Read the Rules Here
 
  


Closed Thread



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 On
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 03:07 AM
g++ : ld cannot find -lX11 infinitycool Slackware 5 09-23-2004 04:48 PM
can not find lX11 problem lljxh Linux - Software 4 08-27-2003 12:58 AM
Linker problem -lX11 Flibble Linux - Software 1 06-16-2003 01:39 AM
ld -lX11 can not find -lX11 Alexop Linux - Newbie 1 08-18-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:50 PM.

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