Comments (6)
This issue has been fixed in the most recent version.
from imagemagick6.
If you refer to version 6.9.13.5, this is at least not true for my attempts. The build log excerpt above is actually from an installation attempt of that exact version.
from imagemagick6.
I misread your error message but itxt_length
has been added in version 1.0.5j
of libpng
in 1999
so I would advise you to upgrade that.
from imagemagick6.
Well, Ubuntu 16.04 certainly ships with a sufficiently current libpng version (1.2). From the header file:
/* pngconf.h - machine configurable file for libpng
*
- libpng version 1.2.54, November 12, 2015
- Copyright (c) 1998-2015 Glenn Randers-Pehrson
- (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
- (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
*/
From the build log:
...
Options used to compile and link:
PREFIX = /home/some/local/
EXEC-PREFIX = /home/some/local/
VERSION = 6.9.13-2
CC = gcc
CFLAGS = -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/freetype2 -Wall -g -O2 -mtune=amdfam10 -fexceptions -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/home/some/perl5/perlbrew/perls/perl-5.38.2/lib/5.38.2/x86_64-linux/CORE
LIBS = -ljbig -ltiff -lfreetype -ljpeg -lpng12 -llzma -lxml2 -lz -lm
CXX = g++ -std=gnu++11 -std=gnu++11
CXXFLAGS = -g -O2
FEATURES = Cipher DPC
DELEGATES = freetype jbig jng jpeg lzma png ps tiff xml zlib
...
from imagemagick6.
It looks like ancient versions of libpng had a check for those members but this changed in 1.4.0
that was released in 2010. That is over 13 years ago so we won't be adding backwards compatibility for that anymore. Upgrade libpng or even better upgrade your ubuntu installation that is now out of support.
from imagemagick6.
Ubuntu 16.04 LTS ESM is under Extended Security Maintenance actually. Upgrading the OS is not an option right now.
libpng is also shipped in version 1.6 as OS package. Building IM6 with freetype support using the libfreetype6 OS package however conflicts with having the OS package libpng16-dev installed.
So this leaves us with dropping the png support when building IM6.
As an aside: You might want to lift your libpng version requirement that is at v1.0.0 if I recall correctly from the build log.
(Still as IM6 is the legacy version of IM it feels somehow wrong to lift a required version of a dependency that much.)
from imagemagick6.
Related Issues (20)
- Assertion _cairo_status_is_error (status) failed. HOT 2
- Fail to build: test fail timeout HOT 5
- `SetMagickSecurityPolicy` always fails HOT 6
- `time` security policy is incompatible with long-running processes HOT 1
- regression when comparing images with alpha to image without alpha with -alpha off HOT 2
- regression completely disabling -quality parameter for webp HOT 2
- ImageMagick requires libtiff 4.0.3+ since 6.9.12-19 HOT 1
- Resizing TIFF, realloc(): invalid next size HOT 3
- 6.9.12-98: Tests are mass failing HOT 1
- Negative x values dont work HOT 1
- Mogrify fails when converting a folder in NAS HOT 2
- fft + ift roundtrip fails to produce a similar output image HOT 1
- Caption: fails to produce output on strings length higher than 800 characters HOT 1
- I get a LockSemaphoreInfo, when i just initialize ImageMagick++ HOT 1
- Trouble exporting 8 bit .bmp from Julia wrapper HOT 1
- Delegate stderr should not be directly to identify stderr
- CVE-2023-1289 HOT 2
- Does ImageMagick 6 require C++11 now? HOT 1
- Unable to install epel-release version of ImageMagick on Rocky Linux 9.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagemagick6.