[SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
E. Fudd Wabbitwy
Posts: 27
Joined: 2019-09-18T08:46:14-07:00
Authentication code: 1152

[SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Post by E. Fudd Wabbitwy »

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.

E. Fudd Wabbitwy
Posts: 27
Joined: 2019-09-18T08:46:14-07:00
Authentication code: 1152

Re: [SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Post by E. Fudd Wabbitwy »

per the other thread:
* the Image::Magick->get('version') reported is 7.0.8
* the list Image::Magick's methods "suddenly", after a half-day's work, includes SetPixels()

E. Fudd Wabbitwy
Posts: 27
Joined: 2019-09-18T08:46:14-07:00
Authentication code: 1152

Re: [SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Post by E. Fudd Wabbitwy »

I was premature in marking this solved, but I found instructions for specifically installing into Ubuntu 18.04, and when I followed those, I found success.

(Details in another thread.)

Post Reply