[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ld problem



Dear All,

I comply a problem which need libX11 . The gcc command line is :
gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
Scan.c

However, there is some error :
/usr/bin/ld:cannot find -lX11
collect2: ld returned 1 exit status
make: *** [Scan] Error 1

I have checked that there is libX11.so.6 under /usr/X11R6/lib.

What is the problem ??? How to solve this ???

Thank you !

Wilson


Reply to: