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

Re: ld problem



On Fri, 29 Oct 1999, Liu Chung Him wrote:

> 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.

Have you installed the developer package (lib6g-dev)?

Martin

-- 
If the box says 'Windows 95 or better', it should run on Linux, right?
                                                               - anonymous

For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de


Reply to: