[ncl-install] help with write_png error [SOLVED]

John washakie at gmail.com
Tue Nov 2 07:52:18 MDT 2010


I needed to include -lpng


On Mon, Nov 1, 2010 at 3:28 PM, John <washakie at gmail.com> wrote:
> Any thoughts on what is causing this error???
>
> /bin64/ncarg64/lib/libncarg_gks.a(pixwrite_png.o): In function `write_png':
> pixwrite_png.c:(.text+0x47d): undefined reference to `png_create_write_struct'
> pixwrite_png.c:(.text+0x4a9): undefined reference to `png_create_info_struct'
> pixwrite_png.c:(.text+0x4c4): undefined reference to `png_destroy_write_struct'
> pixwrite_png.c:(.text+0x4f7): undefined reference to `png_destroy_write_struct'
> pixwrite_png.c:(.text+0x523): undefined reference to `png_init_io'
> pixwrite_png.c:(.text+0x561): undefined reference to `png_malloc'
> pixwrite_png.c:(.text+0x5bb): undefined reference to `png_set_rows'
> pixwrite_png.c:(.text+0x5fc): undefined reference to `png_set_IHDR'
> pixwrite_png.c:(.text+0x62c): undefined reference to `png_write_png'
> pixwrite_png.c:(.text+0x639): undefined reference to `png_destroy_write_struct'
> collect2: ld returned 1 exit status
> make: *** [a.out] Error 1
>
> --
>



-- 
Configuration
``````````````````````````
Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Python 2.6
PIL 1.1.6
Mailman 2.1.9
Postfix 2.4.5
Procmail v3.22 2001/09/10
Basemap: 1.0
Matplotlib: 1.0.0


More information about the ncl-install mailing list