[GRASS-user] errors compiling on Zenwalk

Glynn Clements glynn at gclements.plus.com
Fri Jul 4 16:50:44 EDT 2008


"Carlos \"Guâno\" Grohmann" wrote:

> I'm trying to compile latest svn in Zenwalk 5.2 (Slackware based), but
> I got lots of errors. The first module of the error list was d.ask, so
> I went to run make inside it:
> 
> 
> root[d.ask]# make
> gcc -L/home/guano/tmp_install/gis/grass_trunk/dist.i686-pc-linux-gnu/lib
> -s -Wl,--export-dynamic
> -Wl,-rpath-link,/home/guano/tmp_install/gis/grass_trunk/dist.i686-pc-linux-gnu/lib
> -L/usr/include/libpq   -o
> /home/guano/tmp_install/gis/grass_trunk/dist.i686-pc-linux-gnu/bin/d.ask
> OBJ.i686-pc-linux-gnu/main.o  -lgrass_raster -lgrass_pngdriver
> -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype
> -lgrass_gis -lgrass_datetime -lz     -L/usr/lib -lpng  -lz  -lm
> -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz
> -lfreetype    -lgrass_gis -lgrass_datetime -lz      -lgrass_driver
> -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis
> -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     -lm
> -lz
> /home/guano/tmp_install/gis/grass_trunk/dist.i686-pc-linux-gnu/lib/libgrass_pngdriver.so:
> undefined reference to `png_destroy_read_struct at PNG12_0'

There seems to be a problem with Your PNG library. Specifically, you
appear to have multiple, incompatible versions installed with the same
name.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list