How to install delegate libraries for Image Magick 7.0.7ImageMagick PNG delegate install problemsProblems with compiling ImageMagick with heicHow to install delegate libraries for Image Magick 7.0.8-6How to add support for the JPEG image formatHow can I display a yuv image?How to specify to install libraries to /usr/local/can't install cpan module Image::MagickImageMagick PNG delegate install problemsHow to install Graphic Magick with GPU support (opencl)?How to enable JPEG2000 (jp2) in ImageMagick?Problems with compiling ImageMagick with heic
Does a patron have to know their warlock?
How to automate four-up photo creation
Arcane Adept: is this proposed Warlock feat balanced as compared to PHB feats?
Why is the processor instruction called "move", not "copy"?
Did the Mueller report find that Trump committed any felonies?
Is American Express widely accepted in Hong Kong?
Is Twinkle twinkle little star based on a drone/bourdon?
Between while and do in shell script
Why isn't current carried through a vacuum?
Taking volume contraction into account when mixing water with ethanol
Ball hits curve of same curvature
Next Shared Totient
Is it safe to drive from Prague to Salzburg during winter?
Prefix all commands in shell
In 4 spatial dimensions, would motion under a central force law be confined to a plane?
Wrong cell width in table while merging colums
What does the word "warmth" mean here?
Can two moons have intersecting orbits yet be guaranteed not to collide?
Why does UNIX ed not have a prompt by default
Unpaid suspension due to management error
Turing award papers
What are the factors that decide on whether you die instantly or get knocked out in PUBG?
Is Jupiter still an anomaly?
Why try to impeach Trump now?
How to install delegate libraries for Image Magick 7.0.7
ImageMagick PNG delegate install problemsProblems with compiling ImageMagick with heicHow to install delegate libraries for Image Magick 7.0.8-6How to add support for the JPEG image formatHow can I display a yuv image?How to specify to install libraries to /usr/local/can't install cpan module Image::MagickImageMagick PNG delegate install problemsHow to install Graphic Magick with GPU support (opencl)?How to enable JPEG2000 (jp2) in ImageMagick?Problems with compiling ImageMagick with heic
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I built Image Magick 7.0.7 from source on my Ubuntu 18.04 system.* Typing magick identify -version
into the terminal now returns
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-05-31 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in):
It has no delegates installed, and now I need to get it to work with common file types like .jpg, .png, and .tif. I did use ./configure --enable-shared
, but nonetheless, those formats are missing. However, clearly there exist shared libraries on my system for those.
The Delegate Library Configuration entries for the formats I'm most concerned about is confusing:
JPEG v1 --with-jpeg=yes no
OpenEXR --with-openexr=yes no
PNG --with-png=yes no
TIFF --with-tiff=yes no
The 2nd row seems to show it tried to install those formats, but the last row seems to show no installation occurred. I thus don't know what to do with this information.
Can I install the missing delegates from the delegate packages they have available?
Edit: This answer provides a partial solution, but still a lot of delegates are missing, including the one I really need, TIFF. The question the answer is for shows a lot of effort to install from the delegate library maintained by Image Magick with no success, which is discouraging. Installing from there still seems like the best option at this point, if someone has advice on that.
*(It fails 2 tests when
make check
is run so it executes its test suite, and I've opened an issue on their GitHub repo as the log requests.)software-installation 18.04 compiling imagemagick
add a comment
|
I built Image Magick 7.0.7 from source on my Ubuntu 18.04 system.* Typing magick identify -version
into the terminal now returns
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-05-31 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in):
It has no delegates installed, and now I need to get it to work with common file types like .jpg, .png, and .tif. I did use ./configure --enable-shared
, but nonetheless, those formats are missing. However, clearly there exist shared libraries on my system for those.
The Delegate Library Configuration entries for the formats I'm most concerned about is confusing:
JPEG v1 --with-jpeg=yes no
OpenEXR --with-openexr=yes no
PNG --with-png=yes no
TIFF --with-tiff=yes no
The 2nd row seems to show it tried to install those formats, but the last row seems to show no installation occurred. I thus don't know what to do with this information.
Can I install the missing delegates from the delegate packages they have available?
Edit: This answer provides a partial solution, but still a lot of delegates are missing, including the one I really need, TIFF. The question the answer is for shows a lot of effort to install from the delegate library maintained by Image Magick with no success, which is discouraging. Installing from there still seems like the best option at this point, if someone has advice on that.
*(It fails 2 tests when
make check
is run so it executes its test suite, and I've opened an issue on their GitHub repo as the log requests.)software-installation 18.04 compiling imagemagick
I think it mostly depends on what development libraries are detected during the build configuration (./configure
) step - did you "verify that this configuration matches your expectations." as suggested?
– steeldriver
May 31 '18 at 20:52
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
The way I interpret it,--with-foo=yes no
means that the feature was requested (either with an explicit--with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.
– steeldriver
May 31 '18 at 22:46
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48
add a comment
|
I built Image Magick 7.0.7 from source on my Ubuntu 18.04 system.* Typing magick identify -version
into the terminal now returns
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-05-31 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in):
It has no delegates installed, and now I need to get it to work with common file types like .jpg, .png, and .tif. I did use ./configure --enable-shared
, but nonetheless, those formats are missing. However, clearly there exist shared libraries on my system for those.
The Delegate Library Configuration entries for the formats I'm most concerned about is confusing:
JPEG v1 --with-jpeg=yes no
OpenEXR --with-openexr=yes no
PNG --with-png=yes no
TIFF --with-tiff=yes no
The 2nd row seems to show it tried to install those formats, but the last row seems to show no installation occurred. I thus don't know what to do with this information.
Can I install the missing delegates from the delegate packages they have available?
Edit: This answer provides a partial solution, but still a lot of delegates are missing, including the one I really need, TIFF. The question the answer is for shows a lot of effort to install from the delegate library maintained by Image Magick with no success, which is discouraging. Installing from there still seems like the best option at this point, if someone has advice on that.
*(It fails 2 tests when
make check
is run so it executes its test suite, and I've opened an issue on their GitHub repo as the log requests.)software-installation 18.04 compiling imagemagick
I built Image Magick 7.0.7 from source on my Ubuntu 18.04 system.* Typing magick identify -version
into the terminal now returns
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-05-31 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in):
It has no delegates installed, and now I need to get it to work with common file types like .jpg, .png, and .tif. I did use ./configure --enable-shared
, but nonetheless, those formats are missing. However, clearly there exist shared libraries on my system for those.
The Delegate Library Configuration entries for the formats I'm most concerned about is confusing:
JPEG v1 --with-jpeg=yes no
OpenEXR --with-openexr=yes no
PNG --with-png=yes no
TIFF --with-tiff=yes no
The 2nd row seems to show it tried to install those formats, but the last row seems to show no installation occurred. I thus don't know what to do with this information.
Can I install the missing delegates from the delegate packages they have available?
Edit: This answer provides a partial solution, but still a lot of delegates are missing, including the one I really need, TIFF. The question the answer is for shows a lot of effort to install from the delegate library maintained by Image Magick with no success, which is discouraging. Installing from there still seems like the best option at this point, if someone has advice on that.
*(It fails 2 tests when
make check
is run so it executes its test suite, and I've opened an issue on their GitHub repo as the log requests.)software-installation 18.04 compiling imagemagick
software-installation 18.04 compiling imagemagick
edited Jun 1 '18 at 1:23
andrew.46
25.5k15 gold badges84 silver badges169 bronze badges
25.5k15 gold badges84 silver badges169 bronze badges
asked May 31 '18 at 20:33
kim holderkim holder
4194 silver badges17 bronze badges
4194 silver badges17 bronze badges
I think it mostly depends on what development libraries are detected during the build configuration (./configure
) step - did you "verify that this configuration matches your expectations." as suggested?
– steeldriver
May 31 '18 at 20:52
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
The way I interpret it,--with-foo=yes no
means that the feature was requested (either with an explicit--with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.
– steeldriver
May 31 '18 at 22:46
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48
add a comment
|
I think it mostly depends on what development libraries are detected during the build configuration (./configure
) step - did you "verify that this configuration matches your expectations." as suggested?
– steeldriver
May 31 '18 at 20:52
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
The way I interpret it,--with-foo=yes no
means that the feature was requested (either with an explicit--with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.
– steeldriver
May 31 '18 at 22:46
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48
I think it mostly depends on what development libraries are detected during the build configuration (
./configure
) step - did you "verify that this configuration matches your expectations." as suggested?– steeldriver
May 31 '18 at 20:52
I think it mostly depends on what development libraries are detected during the build configuration (
./configure
) step - did you "verify that this configuration matches your expectations." as suggested?– steeldriver
May 31 '18 at 20:52
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
The way I interpret it,
--with-foo=yes no
means that the feature was requested (either with an explicit --with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.– steeldriver
May 31 '18 at 22:46
The way I interpret it,
--with-foo=yes no
means that the feature was requested (either with an explicit --with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.– steeldriver
May 31 '18 at 22:46
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48
add a comment
|
1 Answer
1
active
oldest
votes
It looks like you have simply skipped some of the required Bionic Beaver development libraries. Once these are installed you should be good to go!
1. 'Development' Files:
Easiest way to generate the required list of development libraries is to make sure you have the 'Sources' box ticked in 'Software & Updates' and then run the following command from a Terminal:
apt-get -s build-dep imagemagick
This simulated run (-s) will give you an eye-watering number of files to install (240mb download on a clean Bionic Beaver install). I have done this already for you so simply run the following single command to load up the required development files:
sudo apt-get install autoconf automake autopoint autotools-dev build-essential chrpath
cm-super-minimal debhelper dh-autoreconf dh-exec dh-strip-nondeterminism doxygen
doxygen-latex dpkg-dev fonts-lmodern g++ g++-7 gcc gcc-7 gir1.2-harfbuzz-0.0 graphviz
icu-devtools libann0 libasan4 libatomic1 libbz2-dev libc-dev-bin libc6-dev
libcairo-script-interpreter2 libcairo2-dev libcdt5 libcgraph6 libcilkrts5
libclang1-6.0 libdjvulibre-dev libexif-dev libexpat1-dev libfftw3-bin libfftw3-dev
libfftw3-long3 libfftw3-quad3 libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgcc-7-dev libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin
libgraphite2-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libilmbase-dev
libitm1 libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblab-gamut1
liblcms2-dev liblqr-1-0-dev liblsan0 libltdl-dev liblzma-dev libmime-charset-perl
libmpx2 libopenexr-dev libpango1.0-dev libpathplan4 libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libperl-dev libpixman-1-dev libpng-dev libpotrace0
libptexenc1 libpthread-stubs0-dev libpython-stdlib libquadmath0 librsvg2-bin
librsvg2-dev libsigsegv2 libsm-dev libsombok3 libstdc++-7-dev libsynctex1
libtexlua52 libtexluajit2 libtiff-dev libtiff5-dev libtiffxx5 libtool libtool-bin
libtsan0 libubsan0 libunicode-linebreak-perl libwmf-dev libx11-dev libxau-dev
libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev
libxml2-dev libxml2-utils libxrender-dev libxt-dev libzzip-0-13 linux-libc-dev m4
make pkg-config pkg-kde-tools po-debconf preview-latex-style python python-minimal
python2.7 python2.7-minimal python3-distutils python3-lib2to3 tex-common
texlive-base texlive-binaries texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures x11proto-core-dev x11proto-dev
x11proto-xext-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g-dev
On top of these development files we can add a few more to round out the ImageMagick installation, checkinstall to assist in packaging and a few more -dev files to build some delegates not seen in the standard Ubuntu package. The following is again a single command:
sudo apt-get install checkinstall libwebp-dev libopenjp2-7-dev librsvg2-dev
libde265-dev libheif-dev
2. Download , compile & install:
Then run the following single command to download the latest ImageMagick and successfully build it:
mkdir $HOME/imagemagick_build && cd $HOME/imagemagick_build &&
wget https://www.imagemagick.org/download/ImageMagick-7.0.7-37.tar.bz2 &&
tar xvf ImageMagick-7.0.7-37.tar.bz2 && cd ImageMagick-7.0.7-37 &&
./configure --with-rsvg && make &&
sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/imagemagick_build"
--pkgname imagemagick --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default
--pkgversion "7.0.7-37" &&
make distclean && sudo ldconfig
Where I have indicated: ./configure --with-rsvg && make
you can substantially speed up the compile by adding something like the following: ./configure --with-rsvg && make -j 4
, adding in an integer commensurate with the number of cores available from your processor...
3. Test the installation:
Testing this version reveals your required delegates safely installed:
andrew@ilium:~$ identify --version
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-06-01 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng
jp2 jpeg lcms lqr lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
andrew@ilium:~$
And now you have the very latest ImageMagick installed on Bionic Beaver with all of the delegates that you required and a few extra ones for good measure:).
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system.magick identify -version
returned the data for 7.0.7-37.
– kim holder
Jun 1 '18 at 1:15
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042436%2fhow-to-install-delegate-libraries-for-image-magick-7-0-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It looks like you have simply skipped some of the required Bionic Beaver development libraries. Once these are installed you should be good to go!
1. 'Development' Files:
Easiest way to generate the required list of development libraries is to make sure you have the 'Sources' box ticked in 'Software & Updates' and then run the following command from a Terminal:
apt-get -s build-dep imagemagick
This simulated run (-s) will give you an eye-watering number of files to install (240mb download on a clean Bionic Beaver install). I have done this already for you so simply run the following single command to load up the required development files:
sudo apt-get install autoconf automake autopoint autotools-dev build-essential chrpath
cm-super-minimal debhelper dh-autoreconf dh-exec dh-strip-nondeterminism doxygen
doxygen-latex dpkg-dev fonts-lmodern g++ g++-7 gcc gcc-7 gir1.2-harfbuzz-0.0 graphviz
icu-devtools libann0 libasan4 libatomic1 libbz2-dev libc-dev-bin libc6-dev
libcairo-script-interpreter2 libcairo2-dev libcdt5 libcgraph6 libcilkrts5
libclang1-6.0 libdjvulibre-dev libexif-dev libexpat1-dev libfftw3-bin libfftw3-dev
libfftw3-long3 libfftw3-quad3 libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgcc-7-dev libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin
libgraphite2-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libilmbase-dev
libitm1 libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblab-gamut1
liblcms2-dev liblqr-1-0-dev liblsan0 libltdl-dev liblzma-dev libmime-charset-perl
libmpx2 libopenexr-dev libpango1.0-dev libpathplan4 libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libperl-dev libpixman-1-dev libpng-dev libpotrace0
libptexenc1 libpthread-stubs0-dev libpython-stdlib libquadmath0 librsvg2-bin
librsvg2-dev libsigsegv2 libsm-dev libsombok3 libstdc++-7-dev libsynctex1
libtexlua52 libtexluajit2 libtiff-dev libtiff5-dev libtiffxx5 libtool libtool-bin
libtsan0 libubsan0 libunicode-linebreak-perl libwmf-dev libx11-dev libxau-dev
libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev
libxml2-dev libxml2-utils libxrender-dev libxt-dev libzzip-0-13 linux-libc-dev m4
make pkg-config pkg-kde-tools po-debconf preview-latex-style python python-minimal
python2.7 python2.7-minimal python3-distutils python3-lib2to3 tex-common
texlive-base texlive-binaries texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures x11proto-core-dev x11proto-dev
x11proto-xext-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g-dev
On top of these development files we can add a few more to round out the ImageMagick installation, checkinstall to assist in packaging and a few more -dev files to build some delegates not seen in the standard Ubuntu package. The following is again a single command:
sudo apt-get install checkinstall libwebp-dev libopenjp2-7-dev librsvg2-dev
libde265-dev libheif-dev
2. Download , compile & install:
Then run the following single command to download the latest ImageMagick and successfully build it:
mkdir $HOME/imagemagick_build && cd $HOME/imagemagick_build &&
wget https://www.imagemagick.org/download/ImageMagick-7.0.7-37.tar.bz2 &&
tar xvf ImageMagick-7.0.7-37.tar.bz2 && cd ImageMagick-7.0.7-37 &&
./configure --with-rsvg && make &&
sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/imagemagick_build"
--pkgname imagemagick --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default
--pkgversion "7.0.7-37" &&
make distclean && sudo ldconfig
Where I have indicated: ./configure --with-rsvg && make
you can substantially speed up the compile by adding something like the following: ./configure --with-rsvg && make -j 4
, adding in an integer commensurate with the number of cores available from your processor...
3. Test the installation:
Testing this version reveals your required delegates safely installed:
andrew@ilium:~$ identify --version
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-06-01 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng
jp2 jpeg lcms lqr lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
andrew@ilium:~$
And now you have the very latest ImageMagick installed on Bionic Beaver with all of the delegates that you required and a few extra ones for good measure:).
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system.magick identify -version
returned the data for 7.0.7-37.
– kim holder
Jun 1 '18 at 1:15
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
add a comment
|
It looks like you have simply skipped some of the required Bionic Beaver development libraries. Once these are installed you should be good to go!
1. 'Development' Files:
Easiest way to generate the required list of development libraries is to make sure you have the 'Sources' box ticked in 'Software & Updates' and then run the following command from a Terminal:
apt-get -s build-dep imagemagick
This simulated run (-s) will give you an eye-watering number of files to install (240mb download on a clean Bionic Beaver install). I have done this already for you so simply run the following single command to load up the required development files:
sudo apt-get install autoconf automake autopoint autotools-dev build-essential chrpath
cm-super-minimal debhelper dh-autoreconf dh-exec dh-strip-nondeterminism doxygen
doxygen-latex dpkg-dev fonts-lmodern g++ g++-7 gcc gcc-7 gir1.2-harfbuzz-0.0 graphviz
icu-devtools libann0 libasan4 libatomic1 libbz2-dev libc-dev-bin libc6-dev
libcairo-script-interpreter2 libcairo2-dev libcdt5 libcgraph6 libcilkrts5
libclang1-6.0 libdjvulibre-dev libexif-dev libexpat1-dev libfftw3-bin libfftw3-dev
libfftw3-long3 libfftw3-quad3 libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgcc-7-dev libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin
libgraphite2-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libilmbase-dev
libitm1 libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblab-gamut1
liblcms2-dev liblqr-1-0-dev liblsan0 libltdl-dev liblzma-dev libmime-charset-perl
libmpx2 libopenexr-dev libpango1.0-dev libpathplan4 libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libperl-dev libpixman-1-dev libpng-dev libpotrace0
libptexenc1 libpthread-stubs0-dev libpython-stdlib libquadmath0 librsvg2-bin
librsvg2-dev libsigsegv2 libsm-dev libsombok3 libstdc++-7-dev libsynctex1
libtexlua52 libtexluajit2 libtiff-dev libtiff5-dev libtiffxx5 libtool libtool-bin
libtsan0 libubsan0 libunicode-linebreak-perl libwmf-dev libx11-dev libxau-dev
libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev
libxml2-dev libxml2-utils libxrender-dev libxt-dev libzzip-0-13 linux-libc-dev m4
make pkg-config pkg-kde-tools po-debconf preview-latex-style python python-minimal
python2.7 python2.7-minimal python3-distutils python3-lib2to3 tex-common
texlive-base texlive-binaries texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures x11proto-core-dev x11proto-dev
x11proto-xext-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g-dev
On top of these development files we can add a few more to round out the ImageMagick installation, checkinstall to assist in packaging and a few more -dev files to build some delegates not seen in the standard Ubuntu package. The following is again a single command:
sudo apt-get install checkinstall libwebp-dev libopenjp2-7-dev librsvg2-dev
libde265-dev libheif-dev
2. Download , compile & install:
Then run the following single command to download the latest ImageMagick and successfully build it:
mkdir $HOME/imagemagick_build && cd $HOME/imagemagick_build &&
wget https://www.imagemagick.org/download/ImageMagick-7.0.7-37.tar.bz2 &&
tar xvf ImageMagick-7.0.7-37.tar.bz2 && cd ImageMagick-7.0.7-37 &&
./configure --with-rsvg && make &&
sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/imagemagick_build"
--pkgname imagemagick --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default
--pkgversion "7.0.7-37" &&
make distclean && sudo ldconfig
Where I have indicated: ./configure --with-rsvg && make
you can substantially speed up the compile by adding something like the following: ./configure --with-rsvg && make -j 4
, adding in an integer commensurate with the number of cores available from your processor...
3. Test the installation:
Testing this version reveals your required delegates safely installed:
andrew@ilium:~$ identify --version
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-06-01 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng
jp2 jpeg lcms lqr lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
andrew@ilium:~$
And now you have the very latest ImageMagick installed on Bionic Beaver with all of the delegates that you required and a few extra ones for good measure:).
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system.magick identify -version
returned the data for 7.0.7-37.
– kim holder
Jun 1 '18 at 1:15
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
add a comment
|
It looks like you have simply skipped some of the required Bionic Beaver development libraries. Once these are installed you should be good to go!
1. 'Development' Files:
Easiest way to generate the required list of development libraries is to make sure you have the 'Sources' box ticked in 'Software & Updates' and then run the following command from a Terminal:
apt-get -s build-dep imagemagick
This simulated run (-s) will give you an eye-watering number of files to install (240mb download on a clean Bionic Beaver install). I have done this already for you so simply run the following single command to load up the required development files:
sudo apt-get install autoconf automake autopoint autotools-dev build-essential chrpath
cm-super-minimal debhelper dh-autoreconf dh-exec dh-strip-nondeterminism doxygen
doxygen-latex dpkg-dev fonts-lmodern g++ g++-7 gcc gcc-7 gir1.2-harfbuzz-0.0 graphviz
icu-devtools libann0 libasan4 libatomic1 libbz2-dev libc-dev-bin libc6-dev
libcairo-script-interpreter2 libcairo2-dev libcdt5 libcgraph6 libcilkrts5
libclang1-6.0 libdjvulibre-dev libexif-dev libexpat1-dev libfftw3-bin libfftw3-dev
libfftw3-long3 libfftw3-quad3 libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgcc-7-dev libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin
libgraphite2-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libilmbase-dev
libitm1 libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblab-gamut1
liblcms2-dev liblqr-1-0-dev liblsan0 libltdl-dev liblzma-dev libmime-charset-perl
libmpx2 libopenexr-dev libpango1.0-dev libpathplan4 libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libperl-dev libpixman-1-dev libpng-dev libpotrace0
libptexenc1 libpthread-stubs0-dev libpython-stdlib libquadmath0 librsvg2-bin
librsvg2-dev libsigsegv2 libsm-dev libsombok3 libstdc++-7-dev libsynctex1
libtexlua52 libtexluajit2 libtiff-dev libtiff5-dev libtiffxx5 libtool libtool-bin
libtsan0 libubsan0 libunicode-linebreak-perl libwmf-dev libx11-dev libxau-dev
libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev
libxml2-dev libxml2-utils libxrender-dev libxt-dev libzzip-0-13 linux-libc-dev m4
make pkg-config pkg-kde-tools po-debconf preview-latex-style python python-minimal
python2.7 python2.7-minimal python3-distutils python3-lib2to3 tex-common
texlive-base texlive-binaries texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures x11proto-core-dev x11proto-dev
x11proto-xext-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g-dev
On top of these development files we can add a few more to round out the ImageMagick installation, checkinstall to assist in packaging and a few more -dev files to build some delegates not seen in the standard Ubuntu package. The following is again a single command:
sudo apt-get install checkinstall libwebp-dev libopenjp2-7-dev librsvg2-dev
libde265-dev libheif-dev
2. Download , compile & install:
Then run the following single command to download the latest ImageMagick and successfully build it:
mkdir $HOME/imagemagick_build && cd $HOME/imagemagick_build &&
wget https://www.imagemagick.org/download/ImageMagick-7.0.7-37.tar.bz2 &&
tar xvf ImageMagick-7.0.7-37.tar.bz2 && cd ImageMagick-7.0.7-37 &&
./configure --with-rsvg && make &&
sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/imagemagick_build"
--pkgname imagemagick --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default
--pkgversion "7.0.7-37" &&
make distclean && sudo ldconfig
Where I have indicated: ./configure --with-rsvg && make
you can substantially speed up the compile by adding something like the following: ./configure --with-rsvg && make -j 4
, adding in an integer commensurate with the number of cores available from your processor...
3. Test the installation:
Testing this version reveals your required delegates safely installed:
andrew@ilium:~$ identify --version
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-06-01 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng
jp2 jpeg lcms lqr lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
andrew@ilium:~$
And now you have the very latest ImageMagick installed on Bionic Beaver with all of the delegates that you required and a few extra ones for good measure:).
It looks like you have simply skipped some of the required Bionic Beaver development libraries. Once these are installed you should be good to go!
1. 'Development' Files:
Easiest way to generate the required list of development libraries is to make sure you have the 'Sources' box ticked in 'Software & Updates' and then run the following command from a Terminal:
apt-get -s build-dep imagemagick
This simulated run (-s) will give you an eye-watering number of files to install (240mb download on a clean Bionic Beaver install). I have done this already for you so simply run the following single command to load up the required development files:
sudo apt-get install autoconf automake autopoint autotools-dev build-essential chrpath
cm-super-minimal debhelper dh-autoreconf dh-exec dh-strip-nondeterminism doxygen
doxygen-latex dpkg-dev fonts-lmodern g++ g++-7 gcc gcc-7 gir1.2-harfbuzz-0.0 graphviz
icu-devtools libann0 libasan4 libatomic1 libbz2-dev libc-dev-bin libc6-dev
libcairo-script-interpreter2 libcairo2-dev libcdt5 libcgraph6 libcilkrts5
libclang1-6.0 libdjvulibre-dev libexif-dev libexpat1-dev libfftw3-bin libfftw3-dev
libfftw3-long3 libfftw3-quad3 libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgcc-7-dev libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin
libgraphite2-dev libgts-0.7-5 libgvc6 libgvpr2 libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libilmbase-dev
libitm1 libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblab-gamut1
liblcms2-dev liblqr-1-0-dev liblsan0 libltdl-dev liblzma-dev libmime-charset-perl
libmpx2 libopenexr-dev libpango1.0-dev libpathplan4 libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libperl-dev libpixman-1-dev libpng-dev libpotrace0
libptexenc1 libpthread-stubs0-dev libpython-stdlib libquadmath0 librsvg2-bin
librsvg2-dev libsigsegv2 libsm-dev libsombok3 libstdc++-7-dev libsynctex1
libtexlua52 libtexluajit2 libtiff-dev libtiff5-dev libtiffxx5 libtool libtool-bin
libtsan0 libubsan0 libunicode-linebreak-perl libwmf-dev libx11-dev libxau-dev
libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev
libxml2-dev libxml2-utils libxrender-dev libxt-dev libzzip-0-13 linux-libc-dev m4
make pkg-config pkg-kde-tools po-debconf preview-latex-style python python-minimal
python2.7 python2.7-minimal python3-distutils python3-lib2to3 tex-common
texlive-base texlive-binaries texlive-extra-utils texlive-font-utils
texlive-fonts-recommended texlive-latex-base texlive-latex-extra
texlive-latex-recommended texlive-pictures x11proto-core-dev x11proto-dev
x11proto-xext-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g-dev
On top of these development files we can add a few more to round out the ImageMagick installation, checkinstall to assist in packaging and a few more -dev files to build some delegates not seen in the standard Ubuntu package. The following is again a single command:
sudo apt-get install checkinstall libwebp-dev libopenjp2-7-dev librsvg2-dev
libde265-dev libheif-dev
2. Download , compile & install:
Then run the following single command to download the latest ImageMagick and successfully build it:
mkdir $HOME/imagemagick_build && cd $HOME/imagemagick_build &&
wget https://www.imagemagick.org/download/ImageMagick-7.0.7-37.tar.bz2 &&
tar xvf ImageMagick-7.0.7-37.tar.bz2 && cd ImageMagick-7.0.7-37 &&
./configure --with-rsvg && make &&
sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/imagemagick_build"
--pkgname imagemagick --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default
--pkgversion "7.0.7-37" &&
make distclean && sudo ldconfig
Where I have indicated: ./configure --with-rsvg && make
you can substantially speed up the compile by adding something like the following: ./configure --with-rsvg && make -j 4
, adding in an integer commensurate with the number of cores available from your processor...
3. Test the installation:
Testing this version reveals your required delegates safely installed:
andrew@ilium:~$ identify --version
Version: ImageMagick 7.0.7-37 Q16 x86_64 2018-06-01 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng
jp2 jpeg lcms lqr lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
andrew@ilium:~$
And now you have the very latest ImageMagick installed on Bionic Beaver with all of the delegates that you required and a few extra ones for good measure:).
edited Jun 1 '18 at 7:59
answered Jun 1 '18 at 0:49
andrew.46andrew.46
25.5k15 gold badges84 silver badges169 bronze badges
25.5k15 gold badges84 silver badges169 bronze badges
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system.magick identify -version
returned the data for 7.0.7-37.
– kim holder
Jun 1 '18 at 1:15
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
add a comment
|
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system.magick identify -version
returned the data for 7.0.7-37.
– kim holder
Jun 1 '18 at 1:15
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -
identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system. magick identify -version
returned the data for 7.0.7-37.– kim holder
Jun 1 '18 at 1:15
Wow, for me adding these libraries involved downloading 546 MB. But it's worth it, i need this and didn't want to get into learning vips. A bit of a note -
identify version
gives me data on ImageMagick 6.9.7-4, which is still installed on the system. magick identify -version
returned the data for 7.0.7-37.– kim holder
Jun 1 '18 at 1:15
1
1
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
@kimholder Remove the older version would be best :). Ubuntu is not a particularly rich compiling environment by default hence the hefty downloads! And sounds like you are on the way with the newest version + all of the delegates so this is great news! I will rummage around a little further with heic delegate which intrigues me ....
– andrew.46
Jun 1 '18 at 1:21
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042436%2fhow-to-install-delegate-libraries-for-image-magick-7-0-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think it mostly depends on what development libraries are detected during the build configuration (
./configure
) step - did you "verify that this configuration matches your expectations." as suggested?– steeldriver
May 31 '18 at 20:52
Alright, i found that part of the output after ./configure, but then what - are the arguments after each file format what can be used to run configure again with that option activated?
– kim holder
May 31 '18 at 20:58
The way I interpret it,
--with-foo=yes no
means that the feature was requested (either with an explicit--with-foo=yes
on the command line, or because the feature is enabled by default) but is not going to get built in because the necessary development headers / libraries were not detected.– steeldriver
May 31 '18 at 22:46
Yes, that sounds right, now that i've read more. However i don't know where to put the delegate downloads and how to point to them so they get configured properly.
– kim holder
May 31 '18 at 22:48