Mapserver installation problem on FC4

cris ricana crisricana at GMAIL.COM
Tue Jul 11 05:21:59 PDT 2006


Hello!

I would like some help on the installation of Mapserver in Fedora Core
4. I'm following the 'Verbose Linux Installation' how-to document and
finished installing all the needed packages and software up to
Mapserver itself. I'm about to compile the Mapserver (Mapserver 4.8.3)
but had these errors:
.
.
.
/usr/local/lib/libgdal.so: undefined reference to
`png_destroy_write_struct at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_write_end at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_write_fn at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to
`png_destroy_read_struct at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to
`png_create_read_struct at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_bit_depth at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_read_fn at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_text at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_tRNS at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_read_image at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_error at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_error_fn at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_read_info at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_color_type at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_read_rows at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to
`png_create_write_struct at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_IHDR at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_PLTE at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_set_packing at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to
`png_create_info_struct at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_channels at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_image_height at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to
`png_get_interlace_type at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_write_info at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_image_width at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_write_rows at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_sig_cmp at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_PLTE at PNG12_0'
/usr/local/lib/libgdal.so: undefined reference to `png_get_tRNS at PNG12_0'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1


I've already installed libpng-1.2.12 and gdal-1.3.2. Are there other
steps that should be done to remove these errors?

Thank you very much,

Maricris



More information about the MapServer-users mailing list