location of libperl.dylib and other dylibs

Brandon Allbery allbery.b at gmail.com
Fri Apr 4 07:00:51 PDT 2014


On Fri, Apr 4, 2014 at 4:39 AM, Mojca Miklavec <mojca at macports.org> wrote:

> I wonder why libperl.dylib ends up under
>   $prefix/lib/perl5/5.x.y/darwin-thread-multi-2level/CORE/libperl.dylib
> when perl5.x.y is supposed to be binary compatible with perl5.x.z.
>

That's Perl's own packaging doing (and requiring) that; you might want to
ask perl5-porters.


> The same question goes to location of files like
>
> $prefix/lib/perl5/site_perl/5.16.1/darwin-thread-multi-2level/auto/Net/Libproxy/Libproxy.dylib
>

That one at least can be handled by appropriately setting PERL5LIB. That
said, ideally it'd get revbumped. (Note that MacPorts' ability to even
consider doing something about it is still somewhat new, since in the past
things like ithreads could and did interfere with binary compatibility.)

People are still trying to figure out how to deal with perl ports; there
was a recent aborted attempt at building a port select mechanism for it
instead of that perl5 metaport with variants, which ran into lots of
problems. The whole thing is annoyingly tricky to deal with, and the
solutions don't appear to be simple. :(

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140404/a6dd545a/attachment.html>


More information about the macports-dev mailing list