Page 1 of 1

[SOLVED]convert PDF files - error: pdf.la not found

Posted: 2014-06-29T09:13:05-07:00
by kotrfa
EDIT:
Quick solution: Install ghostscript.

Hello,

I tried to convert PDF to png today and unfortunately I'm getting this error:

$ convert example.pdf -thumbnail 500x500 example.png

convert: unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found @ error/module.c/OpenModule/1282.
convert: no decode delegate for this image format `PDF' @ error/constitute.c/ReadImage/501.
convert: no images defined `ated.png' @ error/convert.c/ConvertImageCommand/3187.

I checked it pdf.la exists and it does:

$ ls -l /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/coders/pdf.la

-rwxr-xr-x 1 root root 1.1K Jun 27 03:02 /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/coders/pdf.la*

Here is output of:

$ convert -list configure

Path: /usr/lib/ImageMagick-6.8.9//config-Q16HDRI/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -fopenmp -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/coders
CONFIGURE ./configure '--prefix=/usr' '--sysconfdir=/etc' '--with-modules' '--enable-hdri' '--with-wmf' '--with-openexr' '--with-xml' '--with-lcms2' '--with-webp' '--with-gslib' '--with-gs-font-dir=/usr/share/fonts/Type1' '--with-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-lqr' '--with-rsvg' '--with-openjp2' '--without-gvc' '--without-djvu' '--without-autotrace' '--without-jbig' '--without-fpx' '--without-dps' '--without-fftw' 'CFLAGS=-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
CONFIGURE_PATH /etc/ImageMagick-6/
COPYRIGHT Copyright (C) 1999-2014 ImageMagick Studio LLC
CPPFLAGS -I/usr/include/ImageMagick-6
CXX g++
CXXFLAGS -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib mpeg fontconfig freetype gslib jng jpeg lcms lqr lzma openjp2 pango png ps rsvg tiff webp wmf x xml zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-dps=no --with-djvu=no --with-fftw=no --with-fpx=no --with-fontpath= --with-gs-font-dir=/usr/share/fonts/Type1 --with-gvc=no
DOCUMENTATION_PATH /usr/share/doc/ImageMagick-6
EXEC-PREFIX /usr
EXECUTABLE_PATH /usr/bin
FEATURES DPC HDRI OpenMP Modules
FILTER_PATH /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/filters
HOST armv6l-unknown-linux-gnueabihf
INCLUDE_PATH /usr/include/ImageMagick-6
LDFLAGS -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro
LIB_VERSION 0x689
LIB_VERSION_NUMBER 6,8,9,4
LIBRARY_PATH /usr/lib/ImageMagick-6.8.9
LIBS -llcms2 -lfreetype -llqr-1 -lglib-2.0 -lfontconfig -lfreetype -lXext -lX11 -lXt -llzma -lbz2 -lz -lltdl -lm -lgomp
NAME ImageMagick
PCFLAGS -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 2014-06-26
SHARE_PATH /usr/share/ImageMagick-6
SHAREARCH_PATH /usr/lib/ImageMagick-6.8.9/config-Q16HDRI
SVN_REVISION 16057
TARGET_CPU armv6l
TARGET_OS linux-gnueabihf
TARGET_VENDOR unknown
VERSION 6.8.9
WEBSITE http://www.imagemagick.org

Path: [built-in]

Name Value
-------------------------------------------------------------------------------
FEATURES OpenMP
NAME ImageMagick
QuantumDepth 16


I'm running version 6.8.9.4-1 on Archlinux ARM. On other PC with Archlinux (non-ARM) I have same version and it's working OK.

Maybe it can do something with this line:
DELEGATES bzlib mpeg fontconfig freetype gslib jng jpeg lcms lqr lzma openjp2 pango png ps rsvg tiff webp wmf x xml zlib

- there is no "pdf" in it. But it isn't on the second tested PC also and there it works. Here is output from the second PC

$ convert -list configure

Path: /usr/lib/ImageMagick-6.8.9//config-Q16HDRI/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -fopenmp -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -march=x86-64 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/coders
CONFIGURE ./configure '--prefix=/usr' '--sysconfdir=/etc' '--with-modules' '--enable-hdri' '--with-wmf' '--with-openexr' '--with-xml' '--with-lcms2' '--with-webp' '--with-gslib' '--with-gs-font-dir=/usr/share/fonts/Type1' '--with-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-lqr' '--with-rsvg' '--enable-opencl' '--with-openjp2' '--without-gvc' '--without-djvu' '--without-autotrace' '--without-jbig' '--without-fpx' '--without-dps' '--without-fftw' '--with-gcc-arch=x86-64' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
CONFIGURE_PATH /etc/ImageMagick-6/
COPYRIGHT Copyright (C) 1999-2014 ImageMagick Studio LLC
CPPFLAGS -I/usr/include/ImageMagick-6
CXX g++
CXXFLAGS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib mpeg fontconfig freetype gslib jng jpeg lcms lqr lzma openjp2 pango png ps rsvg tiff webp wmf x xml zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-dps=no --with-djvu=no --with-fftw=no --with-fpx=no --with-fontpath= --with-gs-font-dir=/usr/share/fonts/Type1 --with-gvc=no
DOCUMENTATION_PATH /usr/share/doc/ImageMagick-6
EXEC-PREFIX /usr
EXECUTABLE_PATH /usr/bin
FEATURES DPC HDRI OpenCL OpenMP Modules
FILTER_PATH /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/filters
HOST x86_64-unknown-linux-gnu
INCLUDE_PATH /usr/include/ImageMagick-6
LDFLAGS -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro
LIB_VERSION 0x689
LIB_VERSION_NUMBER 6,8,9,4
LIBRARY_PATH /usr/lib/ImageMagick-6.8.9
LIBS -llcms2 -lfreetype -llqr-1 -lglib-2.0 -lfontconfig -lfreetype -lXext -lX11 -lXt -llzma -lbz2 -lz -lltdl -lm -lgomp -lm
NAME ImageMagick
PCFLAGS -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 2014-06-25
SHARE_PATH /usr/share/ImageMagick-6
SHAREARCH_PATH /usr/lib/ImageMagick-6.8.9/config-Q16HDRI
SVN_REVISION 16057
TARGET_CPU x86_64
TARGET_OS linux-gnu
TARGET_VENDOR unknown
VERSION 6.8.9
WEBSITE http://www.imagemagick.org

Path: [built-in]

Name Value
-------------------------------------------------------------------------------
FEATURES OpenMP
NAME ImageMagick
QuantumDepth 16


So I think it's a bug. Thank you

Re: convert PDF files - error: pdf.la not found

Posted: 2014-06-30T06:04:28-07:00
by kathyjus
I'm having the same problem. Just started doing it today while it used to work just fine. Have you found a fix kotrfa?

Re: convert PDF files - error: pdf.la not found

Posted: 2014-06-30T10:23:53-07:00
by kotrfa
No, not really... I've no idea where to look. Files are there, permissions are OK (I tried that also as root). If you propose something, I can test it.

Re: convert PDF files - error: pdf.la not found

Posted: 2014-06-30T10:26:12-07:00
by fmw42
What do you get from

convert -version

It looks like you are running HDRI version of IM

Also have you tried installing Ghostscript again (and then recompile IM). Perhaps it needs an upgrade or was not quite installed properly?

Does it happen with all pdfs or just some?

Can you post your PDF file to some free hosting service such as dropbox.com (public folder) and put the URL here?

Re: convert PDF files - error: pdf.la not found

Posted: 2014-07-01T05:44:00-07:00
by kotrfa
Hello,

convert --version

Code: Select all

Version: ImageMagick 6.8.9-4 Q16 armv6l 2014-06-26 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC HDRI Modules OpenMP
Delegates: bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma pangocairo png ps rsvg tiff webp wmf x xml zlib
on the computer convert works normally is this output:

Code: Select all

Version: ImageMagick 6.8.9-4 Q16 x86_64 2014-06-25 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC HDRI Modules OpenCL OpenMP
Delegates: bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma pangocairo png ps rsvg tiff webp wmf x xml zlib
there is "OpenCL". Can that be the cause?

It doesn't work for all PDF files I've tried. Now I tried these pdf examples:
http://eurecaproject.eu/files/6113/9885 ... ample1.pdf
http://www.aisb.org.uk/convention/aisb08/AISB08.pdf
https://www.modelica.org/events/modelic ... stract.pdf

When I try "convert xxx.pdf xxx.png" or "convert xxx.pdf xxx.jpg", I get the error again. On the second computer (with OpenCL) it works fine.

convert example1.pdf a.jpg

Code: Select all

convert: unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found @ error/module.c/OpenModule/1282.
convert: no decode delegate for this image format `PDF' @ error/constitute.c/ReadImage/501.
convert: no images defined `a.jpg' @ error/convert.c/ConvertImageCommand/3187.

Re: convert PDF files - error: pdf.la not found

Posted: 2014-07-01T05:49:38-07:00
by magick
Are your file and directory permission set properly? Add -debug module to your command line. See what it reports.

Re: convert PDF files - error: pdf.la not found

Posted: 2014-07-01T08:40:38-07:00
by kotrfa
EDIT: SOLVED
I've overlooked your notice about ghostscript in your previous post - I installed it and now it works fine. I'm going to notice package owner in Archlinux ARM about adding ghostscript as dependency.

Thank you for your help.

NOT NEEDED:

Code: Select all

convert example1.pdf a.jpg -debug all 

shows this:

Code: Select all

2014-07-01T17:39:00+02:00 0:00.010 0.010u 6.8.9 Configure convert[9604]: utility.c/ExpandFilenames/945/Configure
  Command line: convert {example1.pdf} {a.png} {-debug} {all}
2014-07-01T17:39:00+02:00 0:00.020 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/coder.xml"
2014-07-01T17:39:00+02:00 0:00.020 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.8.9//config-Q16HDRI/coder.xml"
2014-07-01T17:39:00+02:00 0:00.020 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/coder.xml"
2014-07-01T17:39:00+02:00 0:00.020 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/coder.xml"
2014-07-01T17:39:00+02:00 0:00.030 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.config/ImageMagick/coder.xml"
2014-07-01T17:39:00+02:00 0:00.030 0.020u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.magick/coder.xml"
2014-07-01T17:39:00+02:00 0:00.030 0.020u 6.8.9 Configure convert[9604]: coder.c/LoadCoderCache/796/Configure
  Loading coder configuration file "/etc/ImageMagick-6/coder.xml" ...
2014-07-01T17:39:00+02:00 0:00.040 0.020u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.040 0.020u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.040 0.020u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.050 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/usr/share/ImageMagick-6/locale.xml"
2014-07-01T17:39:00+02:00 0:00.050 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/usr/lib/ImageMagick-6.8.9//config-Q16HDRI/locale.xml"
2014-07-01T17:39:00+02:00 0:00.050 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/etc/ImageMagick-6/locale.xml"
2014-07-01T17:39:00+02:00 0:00.050 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/usr/share/doc/ImageMagick-6/locale.xml"
2014-07-01T17:39:00+02:00 0:00.050 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/home/puser/.config/ImageMagick/locale.xml"
2014-07-01T17:39:00+02:00 0:00.060 0.050u 6.8.9 Locale convert[9604]: locale.c/GetLocaleOptions/829/Locale
  Searching for locale file: "/home/puser/.magick/locale.xml"
2014-07-01T17:39:00+02:00 0:00.060 0.050u 6.8.9 Configure convert[9604]: locale.c/LoadLocaleCache/1187/Configure
  Loading locale configure file "/usr/share/ImageMagick-6/locale.xml" ...
2014-07-01T17:39:00+02:00 0:00.060 0.050u 6.8.9 Configure convert[9604]: locale.c/LoadLocaleCache/1187/Configure
  Loading locale configure file "/usr/share/ImageMagick-6/english.xml" ...
2014-07-01T17:39:00+02:00 0:00.090 0.070u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.100 0.070u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.100 0.070u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.100 0.070u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.110 0.070u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.110 0.080u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="example1.pdf" ...
2014-07-01T17:39:00+02:00 0:00.120 0.080u 6.8.9 Blob convert[9604]: blob.c/OpenBlob/2547/Blob
    read 3 magic header bytes
2014-07-01T17:39:00+02:00 0:00.120 0.080u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.120 0.080u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.120 0.080u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.130 0.080u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.130 0.090u 6.8.9 Cache convert[9604]: cache.c/DestroyPixelCache/965/Cache
  destroy 
2014-07-01T17:39:00+02:00 0:00.140 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/magic.xml"
2014-07-01T17:39:00+02:00 0:00.140 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.8.9//config-Q16HDRI/magic.xml"
2014-07-01T17:39:00+02:00 0:00.140 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/magic.xml"
2014-07-01T17:39:00+02:00 0:00.140 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/magic.xml"
2014-07-01T17:39:00+02:00 0:00.150 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.config/ImageMagick/magic.xml"
2014-07-01T17:39:00+02:00 0:00.150 0.090u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.magick/magic.xml"
2014-07-01T17:39:00+02:00 0:00.150 0.090u 6.8.9 Configure convert[9604]: magic.c/LoadMagicCache/773/Configure
  Loading magic configure file "/etc/ImageMagick-6/magic.xml" ...
2014-07-01T17:39:00+02:00 0:00.150 0.090u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.160 0.090u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.160 0.090u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.160 0.100u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.170 0.100u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PDF" ...
2014-07-01T17:39:00+02:00 0:00.170 0.100u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.170 0.100u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.170 0.100u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.180 0.110u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.180 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.190 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.8.9//config-Q16HDRI/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.190 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.190 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.190 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.config/ImageMagick/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.200 0.110u 6.8.9 Configure convert[9604]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/puser/.magick/delegates.xml"
2014-07-01T17:39:00+02:00 0:00.200 0.110u 6.8.9 Configure convert[9604]: delegate.c/LoadDelegateCache/1318/Configure
  Loading delegate configuration file "/etc/ImageMagick-6/delegates.xml" ...
2014-07-01T17:39:00+02:00 0:00.210 0.120u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.210 0.120u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.210 0.120u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.220 0.130u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.220 0.130u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.220 0.130u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.230 0.130u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.230 0.130u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.240 0.140u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="example1.pdf" ...
2014-07-01T17:39:00+02:00 0:00.240 0.140u 6.8.9 Blob convert[9604]: blob.c/OpenBlob/2547/Blob
    read 3 magic header bytes
2014-07-01T17:39:00+02:00 0:00.250 0.140u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.250 0.140u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.250 0.140u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.260 0.150u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.260 0.150u 6.8.9 Cache convert[9604]: cache.c/DestroyPixelCache/965/Cache
  destroy 
2014-07-01T17:39:00+02:00 0:00.260 0.150u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.260 0.150u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.270 0.150u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.270 0.160u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.280 0.160u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PDF" using filename "pdf.la"
2014-07-01T17:39:00+02:00 0:00.280 0.160u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "pdf.la" ...
2014-07-01T17:39:00+02:00 0:00.280 0.160u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la"
2014-07-01T17:39:00+02:00 0:00.290 0.170u 6.8.9 Exception convert[9604]: module.c/OpenModule/1282/Exception
  unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found
2014-07-01T17:39:00+02:00 0:00.290 0.170u 6.8.9 Exception convert[9604]: constitute.c/ReadImage/501/Exception
  no decode delegate for this image format `PDF'
2014-07-01T17:39:00+02:00 0:00.300 0.170u 6.8.9 Module convert[9604]: module.c/OpenModule/1268/Module
  Searching for module "PNG" using filename "png.la"
2014-07-01T17:39:00+02:00 0:00.300 0.170u 6.8.9 Module convert[9604]: module.c/GetMagickModulePath/554/Module
  Searching for coder module file "png.la" ...
2014-07-01T17:39:00+02:00 0:00.300 0.170u 6.8.9 Module convert[9604]: module.c/OpenModule/1277/Module
  Opening module at path "/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/png.la"
2014-07-01T17:39:00+02:00 0:00.310 0.180u 6.8.9 Module convert[9604]: module.c/OpenModule/1304/Module
  Method "RegisterPNGImage" in module "PNG" at address 0xb6441280
2014-07-01T17:39:00+02:00 0:00.310 0.180u 6.8.9 Module convert[9604]: module.c/OpenModule/1318/Module
  Method "UnregisterPNGImage" in module "PNG" at address 0xb64418ec
2014-07-01T17:39:00+02:00 0:00.320 0.180u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="a.png" ...
2014-07-01T17:39:00+02:00 0:00.320 0.180u 6.8.9 Exception convert[9604]: blob.c/OpenBlob/2658/Exception
  unable to open image `a.png': No such file or directory
2014-07-01T17:39:00+02:00 0:00.320 0.180u 6.8.9 Cache convert[9604]: cache.c/DestroyPixelCache/965/Cache
  destroy 
2014-07-01T17:39:00+02:00 0:00.320 0.190u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PNG" ...
2014-07-01T17:39:00+02:00 0:00.320 0.190u 6.8.9 Coder convert[9604]: png.c/ReadPNGImage/4016/Coder
  Enter ReadPNGImage()
2014-07-01T17:39:00+02:00 0:00.330 0.190u 6.8.9 Policy convert[9604]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="a.png" ...
2014-07-01T17:39:00+02:00 0:00.330 0.190u 6.8.9 Exception convert[9604]: blob.c/OpenBlob/2658/Exception
  unable to open image `a.png': No such file or directory
2014-07-01T17:39:00+02:00 0:00.330 0.190u 6.8.9 Exception convert[9604]: png.c/ReadPNGImage/4022/Exception
  unable to open file `a.png'
2014-07-01T17:39:00+02:00 0:00.330 0.190u 6.8.9 Cache convert[9604]: cache.c/DestroyPixelCache/965/Cache
  destroy 
2014-07-01T17:39:00+02:00 0:00.330 0.190u 6.8.9 Exception convert[9604]: convert.c/ConvertImageCommand/3184/Exception
  missing an image filename `all'
convert: unable to load module `/usr/lib/ImageMagick-6.8.9//modules-Q16HDRI/coders/pdf.la': file not found @ error/module.c/OpenModule/1282.
convert: no decode delegate for this image format `PDF' @ error/constitute.c/ReadImage/501.
convert: unable to open image `a.png': No such file or directory @ error/blob.c/OpenBlob/2658.
convert: unable to open image `a.png': No such file or directory @ error/blob.c/OpenBlob/2658.
convert: unable to open file `a.png' @ error/png.c/ReadPNGImage/4022.
convert: missing an image filename `all' @ error/convert.c/ConvertImageCommand/3184
output is same with sudo also. Permissions are same on both:

Code: Select all

-rwxr-xr-x 1 root root 1.1K Jun 27 03:02 /usr/lib/ImageMagick-6.8.9/modules-Q16HDRI/coders/pdf.la*