Compiling and linking programs
John Twilley
jmt at NDA.COM
Sat Dec 14 12:36:21 EST 1996
At 11:15 AM 12/14/96 -0500, you wrote:
>I'm trying to compile and link gnuplot and I consistently receive the
>following error:
>
>/usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory
>
>I think the loader is complaining about not being able to find libX11.a.
>Is this right? Is there a way around this, maybe by specifting a
>different library?
>
>I'm running slackware96 with a 2.0.24 ELF kernel.
>
> Thanks,
> Chuck
>
I'd find out which directory libX11.a or libX11.so was in, and include it on
the appropriate line in the Makefile, like -L/usr/X11/lib -lX11 or something.
Jack.
More information about the Discuss
mailing list