Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: building PerlMagick with perlbrew provided perl on Debian

by 1nickt (Canon)
on Mar 28, 2021 at 12:26 UTC ( [id://11130508]=note: print w/replies, xml ) Need Help??


in reply to [RESOLVED] building PerlMagick with perlbrew provided perl on Debian

Hi, FWIW (?) I am running 5.32.0 via perlbrew but I see libperl5.30/focal,now 5.30.0-9build1 amd64 [installed,upgradable to: 5.30.0-9ubuntu0.2] is installed. I definitely did not install that manually.

Hope this helps!


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: building PerlMagick with perlbrew provided perl on Debian
by perlfan (Vicar) on Mar 28, 2021 at 18:14 UTC
    Thank you, this is helpful in explaining part of the situation. I will add that the PerlMagick/Makefile created during the configure and build process of ImageMagick/PerlMagick most definitely accounts for the paths associated with the perlbrew perl, including variables like PERL_INC, etc.

    The path to the architecturally dependent libperl.a in the proper "/CORE" directory is even properly detected and in the PerlMagick/Makefile. If anything, it seems that the linker step is not using that information - - might have something with the following environmental variables not being respected somehow: LDFLAGS, LD_LIBRARY_PATH, LD_RUN_PATH - possible another few that are linker related.

    This may also point to the need to run /usr/bin/ldconfig at some point on either the custom ImageMagick lib path(s) or perl's, which then tells me there might be some assumption being made my ImageMagick's build infrastructure that is being violated by the introduction of perlbrew - or at least a non-privileged build of perl more generally. I'll keep poking at it, but in the mean time I'll probably just apt-get install libperl-dev this and move along.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11130508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-19 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found