gnuplot 4.x not using X libraries:Solved

Lonni J Friedman netllama at gmail.com
Sat Aug 23 14:03:52 PDT 2008


On Sat, Aug 23, 2008 at 1:08 PM, Joel Hammer <joel at hammershome.com> wrote:
> Thanks for the info.
>
> I got the development files, and put them into my include
> directory. Configure went fine and make went fine until
> I came to the compile part. This was what I got:
>
> gcc  -g -O2   -o gnuplot_x11  gplt_x11.o gpexecute.o getcolor_x11.o -L/usr/X11R6/lib/X11 -lX11  -lm
> /usr/bin/ld: cannot find -lX11
>
> man gcc suggested I needed a file libX11.a
>
> I didn't have that on my computer. I thrashed around the
> internet, but didn't find anything too promising. So,
> I looked at my other, even older linx box, which hasn't
> been upgraded for five  years. It had libX11.a. So, I put
> that into the proper directory, and now it works.
>
> Ahh.
>
> Now I can make pretty color bar graphs on my X-terminal
> showing the murder rate in Baltimore.

I'll make it easier for you:

2000   #########################
2001   ###############################################
2002   ####################################################
2003   ############################################################
2004   #####################################################################
2005   ######################################################################
2006   ########################################################
2007   ##############################################################
2008   ##################################################



More information about the Linux-users mailing list