Closed yusukebe closed 4 years ago
Try the following. If you install locally to your $HOME
either from source or with rakudobrew
and using any kind of ports – as I use MacPorts, for example - then find the lib
dir where libmoar.dylib
is located (say, ~/raku/lib
, or ~/.rakudobrew/versions/moar-2020.01/install/lib
). Then symlink all *.dylib
from your ports lib
directory into Rakudo's. I say 'all' just for simplicity.
Works for me.
The problem is in a security measure MacOS takes on dynamic libraries. Your binary can only load those which are either in system locations (i.e. /usr/lib
, for example) or in a lib
found in the same location where your executable is. For local installations of Rakudo it means it can't see .dylib
from ports.
Oooooh, It works. I tried following instruction - I use homebrew:
$ ln -s /usr/local/Cellar/openssl@1.1/1.1.1d/lib/*.dylib ~/.rakudobrew/versions/moar-2020.01/install/lib
Thanks a lot!!
Tests are failed and aborted on my macOS Catalina.
macOS version:
Raku version:
openssl version:
Install by zef:
Run test:
Installing Perl 5 Net::SSLeay is successful on same environments.