From: Andy C. <and...@ho...> - 2005-05-12 17:58:02
|
Hi guys, I've had a problem with compiling gnuplot 4.0.0 on Linux. In the Makefile in the ./src directory, the libraries for zlib and libpng are listed in the wrong order: -lz is first. There are functions (e.g. deflate) which are in libz.a but they're not pulled in, because libpng.a hasn't been linked in yet (and by the time the linker gets to libpng.a, it's too late). I was able to fix the problem by switching the -lz and the -lpng around in the ./src/Makefile. P.S. forgive me if I made a mistake, I'm pretty much a novice at this... HTH. -- Andy |