LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ld -lX11 can not find -lX11 (https://www.linuxquestions.org/questions/linux-general-1/ld-lx11-can-not-find-lx11-28206/)

Alexop 08-18-2002 06:11 PM

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

trickykid 08-18-2002 06:24 PM

Please refrain from double posting. Read the Rules Here


All times are GMT -5. The time now is 08:48 PM.