From: Sicily <sic...@ya...> - 2006-02-23 09:36:29
|
Hi! I'd downloaded from "ftp://ftp.gnuplot.info/pub/gnuplot/" the required packages: zlib-1.1.4.tar.gz, libpng-1.2.5.tar.gz, and gnuplot-4.0.0.tar.gz. After build&install zlib and libpng, encountered following error messages when trying to install gnuplot: gcc -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o gnuplot alloc.o axis.o binary.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o -lz -lpng -lm /usr/local/lib/libpng.so: undefined reference to `deflate' /usr/local/lib/libpng.so: undefined reference to `inflate' /usr/local/lib/libpng.so: undefined reference to `inflateInit_' /usr/local/lib/libpng.so: undefined reference to `crc32' /usr/local/lib/libpng.so: undefined reference to `deflateInit2_' /usr/local/lib/libpng.so: undefined reference to `inflateReset' /usr/local/lib/libpng.so: undefined reference to `deflateReset' /usr/local/lib/libpng.so: undefined reference to `inflateEnd' /usr/local/lib/libpng.so: undefined reference to `deflateEnd' collect2: ld returned 1 exit status make[2]: *** [gnuplot] Error 1 make[2]: Leaving directory `/root/tools/gnuplot/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/tools/gnuplot/src' make: *** [install-recursive] Error 1 Wondering anyone wish to offer any help, thanks! Sicily ___________________________________________________________ 无限容量雅虎相册,原图等大下载,超快速度,赶快抢注! http://cn.photos.yahoo.com |