[EMBOSS] libpng problems on Solaris 8, png.h version versus png.c version

David.Bauer at SCHERING.DE David.Bauer at SCHERING.DE
Thu Dec 1 07:20:12 UTC 2005

Hi David,

a had similar trouble with this on Solaris.
The best way to get a clean rebuild is to rerun the configure.
Watch for the folowing lines in the configure output:

checking if png driver is wanted... yes
checking for inflateEnd in -lz... yes
checking for png_destroy_read_struct in -lpng... yes
checking for gdImageCreateFromPng in -lgd... yes
PNG libraries found

Unless you don't get "PNG libraries found" here, you are in trouble ;-)
Most often this is caused by the search path for dynamic libraries. On
Solaris you may have somwhere in /opt some older version of libgd.
You get than a "no" for "gdImageCreateFromPng".
If you don't want (or can't) change the libs in system location you can
create the complete set of z,gd,png in an alternative location and use the
to point configure to this place. But this has to be the complete
installation containing also the .h files and not just the libraries.

Hope this helps,

emboss-bounces at emboss.open-bio.org schrieb am 01/12/2005 01:10:17:

> This is making me nuts.
> plplot (re)compiled gdpng to create gdpng.o in ..../plplot/.libs,
> yet it seems not to be putting it into the libraries.
> specify png as the output graphics type with polydot (for intance)
> results in it bailing out with:
> Devices allowed are:-
> postscript
> ps
> hpgl
> hp7470
> hp7580
> meta
> colourps
> cps
> xwindows
> x11
> tektronics
> tekt
> tek4107t
> tek
> none
> null
> text
> data
> xterm
> Error: Invalid graph value 'png'
> Died: polydot terminated: Bad value for '-graph' with -auto defined
> Again, how does one do a CLEAN (completely clean) rebuild?
> Thanks,
> David Mathog
> mathog at caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
> _______________________________________________
> EMBOSS mailing list
> EMBOSS at emboss.open-bio.org
> http://newportal.open-bio.org/mailman/listinfo/emboss

More information about the EMBOSS mailing list