Unable to install png delegates

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sharada125
Posts: 1
Joined: 2019-12-02T13:36:44-07:00
Authentication code: 1152

Unable to install png delegates

Post by sharada125 » 2019-12-03T09:46:27-07:00

We are trying to install the png delegated for the imagemagick on linux box. The imagemagick version we are using is : ImageMagick 6.7.3-10 2018-03-21 Q16. We are trying to install the libpng-1.6.19. The OS version is RHEL 7.5. We are getting the below response when we try to configure or install.

Can you please help us to know the correct library to install the .png delegate.

Code: Select all

[root@argebzstgpub01 libpng-1.6.19]# pwd

[root@argebzstgpub01 libpng-1.6.19]# ./configure --prefix=/home/hybuat/png
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that AWK works... ok
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... yes
checking for memset... yes
checking for pow... no
checking for pow in -lm... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@argebzstgpub01 libpng-1.6.19]#
====================================================================
[root@argebzstgpub01 libpng-1.6.19]# make
make  all-am
make[1]: Entering directory `/home/hybuat/libpng-1.6.19'
cp libpng-config libpng16-config
cp libpng.pc libpng16.pc
make[1]: Leaving directory `/home/hybuat/libpng-1.6.19'
[root@argebzstgpub01 libpng-1.6.19]# make -j20 && make install  
make  install-am
make[1]: Entering directory `/home/hybuat/libpng-1.6.19'
make[2]: Entering directory `/home/hybuat/libpng-1.6.19'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/lib'
/bin/sh ./libtool   --mode=install /bin/install -c   libpng16.la '/home/hybuat/libpng-1.6.19/lib'
libtool: install: /bin/install -c .libs/libpng16.so.16.19.0 /home/hybuat/libpng-1.6.19/lib/libpng16.so.16.19.0
libtool: install: (cd /home/hybuat/libpng-1.6.19/lib && { ln -s -f libpng16.so.16.19.0 libpng16.so.16 || { rm -f libpng16.so.16 && ln -s libpng16.so.16.19.0 libpng16.so.16; }; })
libtool: install: (cd /home/hybuat/libpng-1.6.19/lib && { ln -s -f libpng16.so.16.19.0 libpng16.so || { rm -f libpng16.so && ln -s libpng16.so.16.19.0 libpng16.so; }; })
libtool: install: /bin/install -c .libs/libpng16.lai /home/hybuat/libpng-1.6.19/lib/libpng16.la
libtool: install: /bin/install -c .libs/libpng16.a /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: install: chmod 644 /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: install: ranlib /home/hybuat/libpng-1.6.19/lib/libpng16.a
libtool: warning: remember to run 'libtool --finish /home/hybuat/png/lib'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/bin'
  /bin/sh ./libtool   --mode=install /bin/install -c pngfix png-fix-itxt '/home/hybuat/libpng-1.6.19/bin'
libtool: install: /bin/install -c pngfix /home/hybuat/libpng-1.6.19/bin/pngfix
libtool: install: /bin/install -c png-fix-itxt /home/hybuat/libpng-1.6.19/bin/png-fix-itxt
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/bin'
/bin/install -c libpng16-config '/home/hybuat/libpng-1.6.19/bin'
make  install-exec-hook
make[3]: Entering directory `/home/hybuat/libpng-1.6.19'
+ cd /home/hybuat/libpng-1.6.19/lib
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.a
+ test -f libpng16.a
+ ln -s libpng16.a libpng.a
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.dll.a
+ test -f libpng16.dll.a
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.so
+ test -f libpng16.so
+ ln -s libpng16.so libpng.so
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.so.16.19
+ test -f libpng16.so.16.19
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.la
+ test -f libpng16.la
+ ln -s libpng16.la libpng.la
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.sl
+ test -f libpng16.sl
+ for ext in a dll.a so so.16.19 la sl dylib
+ rm -f libpng.dylib
+ test -f libpng16.dylib
+ cd /home/hybuat/libpng-1.6.19/bin
+ rm -f libpng-config
+ ln -s libpng16-config libpng-config
make[3]: Leaving directory `/home/hybuat/libpng-1.6.19'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/share/man/man3'
/bin/install -c -m 644 libpng.3 libpngpf.3 '/home/hybuat/libpng-1.6.19/share/man/man3'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/share/man/man5'
/bin/install -c -m 644 png.5 '/home/hybuat/libpng-1.6.19/share/man/man5'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/install -c -m 644 pnglibconf.h '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/lib/pkgconfig'
/bin/install -c -m 644 libpng16.pc '/home/hybuat/libpng-1.6.19/lib/pkgconfig'
/bin/mkdir -p '/home/hybuat/libpng-1.6.19/include/libpng16'
/bin/install -c -m 644 png.h pngconf.h '/home/hybuat/libpng-1.6.19/include/libpng16'
make  install-data-hook
make[3]: Entering directory `/home/hybuat/libpng-1.6.19'
+ cd /home/hybuat/libpng-1.6.19/include
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pnglibconf.h
+ ln -s libpng16/pnglibconf.h pnglibconf.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f png.h
+ ln -s libpng16/png.h png.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pngconf.h
+ ln -s libpng16/pngconf.h pngconf.h
+ cd /home/hybuat/libpng-1.6.19/lib/pkgconfig
+ rm -f libpng.pc
+ ln -s libpng16.pc libpng.pc
make[3]: Leaving directory `/home/hybuat/libpng-1.6.19'
make[2]: Leaving directory `/home/hybuat/libpng-1.6.19'
make[1]: Leaving directory `/home/hybuat/libpng-1.6.19'

User avatar
fmw42
Posts: 25742
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to install png delegates

Post by fmw42 » 2019-12-03T10:50:30-07:00

IM 6.7.3-10 is ancient. Perhaps you need to upgrade. By date, your version is nearly 2 years old. Check for a more current patch.

Post Reply