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