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

Re: ld problem



Liu Chung Him (eg_lchaa@stu.ust.hk) wrote:

> > > > > gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
> > > > > Scan.c

> > You want to say "-L/usr/X11R6/lib" not "-L/usr/X11R/lib".

> But, i had typed correctly in the Makefile.
> Is it the linker problem or the shared library problem ????

You need to have libX11.so as a symbolic link to the appropriate shared
library.  Normally you do this by installing the xlib6g-dev package.

-- 
Greg Wooledge                    | "Truth belongs to everybody."
wooledge@kellnet.com             |   Red Hot Chili Peppers,
http://www.kellnet.com/wooledge/ |

Attachment: pgpcjqJdqfvxR.pgp
Description: PGP signature


Reply to: