[SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...
Posted: 2019-09-19T11:48:38-07:00
Following a mixture of steps on:
https://www.imagemagick.org/script/install-source.php
and
https://www.imagemagick.org/discourse-s ... 13#p141468
I did the following, to install ImageMagick from source...
% wget https://www.imagemagick.org/download/ImageMagick.tar.gz
% tar xvf ImageMagick.tar.gz
% cd ImageMagick[-7.0.8-65]/
#%./configure --with-modules --enable-shared --with-perl # Fails, but only need perl
#%./configure # plain install; worked, but need perl API
% ./configure --with-perl
% make
% sudo make install # Fails, "/usr/bin/ld: cannot find -lperl"
Hunting around the net, inspecting local files esp. Makefile*, and reading between imaginary lines, I conclude that there's a Missing Link, and
AFTER running
% perl --version
to double-check its version, add a symlink:
% cd /usr/lib/; ln -s x86_64-linux-gnu/libperl.so.5.26.1 ./libperl.so
After that,
% sudo make install
seems to have proceeded to a correct finish.
https://www.imagemagick.org/script/install-source.php
and
https://www.imagemagick.org/discourse-s ... 13#p141468
I did the following, to install ImageMagick from source...
% wget https://www.imagemagick.org/download/ImageMagick.tar.gz
% tar xvf ImageMagick.tar.gz
% cd ImageMagick[-7.0.8-65]/
#%./configure --with-modules --enable-shared --with-perl # Fails, but only need perl
#%./configure # plain install; worked, but need perl API
% ./configure --with-perl
% make
% sudo make install # Fails, "/usr/bin/ld: cannot find -lperl"
Hunting around the net, inspecting local files esp. Makefile*, and reading between imaginary lines, I conclude that there's a Missing Link, and
AFTER running
% perl --version
to double-check its version, add a symlink:
% cd /usr/lib/; ln -s x86_64-linux-gnu/libperl.so.5.26.1 ./libperl.so
After that,
% sudo make install
seems to have proceeded to a correct finish.