gnuplot 4.x not using X libraries:Solved
Joel Hammer
joel at hammershome.com
Sat Aug 23 13:08:20 PDT 2008
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.
Thanks for the help.
Joel
More information about the Linux-users
mailing list