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

Re: -lX11



> I'm trying to compile a program called dataplot. It's in Fortran,
> and I've partially succeeded in converting it to C...however, at the end
> of a compile, it claims:
> ld: cannot open -lX11: No such file or directory
> X11 stuff is in the ldconfig path...so what's going on?

You should have put instead of plain -lX11:
-L/usr/X11R6/lib -lX11


Alex Y.
-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


Reply to: