I have come with a question! Basic set up is: The problem: following the prescribed steps (e.g, setting MAGICK_HOME) and using --with-perl, making sure the perl I want is provided by the perlbrew environment as expected, there is an issue with the build process finding -lperl. I have noted the following: If I install libperl-dev via apt-get, it all works perfectly. This just feels wrong to me. Anyone ever deal with this? I do not get the same issues on Ubuntu doing anything special with perlbrew or passing in anything via --with-perl-options. Though it now occurs to me that I didn't ensure that libperl-dev was not installed as a dependency for something else.

I've been pouring over https://imagemagick.org/script/advanced-linux-installation.php for the better part of a day, and no luck. I also found https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=8133, but it's a very old post and didn't seem to give me any good ideas.

My last resort is to, apt-get install libperl-dev - but I still want to use the newer version of perl provided by perlbrew. Any ideas? I can provide more detailed errors, but was hoping this could be recognized by someone here. TIA.

In reply to [RESOLVED] building PerlMagick with perlbrew provided perl on Debian by perlfan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.