-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
I've installed truffleruby 23.1.0 using homebrew. All went well, until I use openssl:
> ruby -e "require 'openssl'"
<internal:core> core/kernel.rb:260:in `require': you may need to install the system OpenSSL library libssl - see https://github.com/oracle/truffleruby/blob/master/doc/user/installing-libssl.md (dlopen(/user/.rubies/truffleruby-23.1.0/lib/mri/openssl.bundle, 0x0002): Library not loaded: @rpath/libgraalvm-llvm.1.dylib (RuntimeError)
Referenced from: <D3AD165B-0AC8-3019-836C-9D3781CEDAA8> /user/.rubies/truffleruby-23.1.0/lib/mri/openssl.bundle
Reason: tried: '/usr/local/opt/openssl@3/lib/libgraalvm-llvm.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libgraalvm-llvm.1.dylib' (no such file), '/usr/local/opt/openssl@3/lib/libgraalvm-llvm.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libgraalvm-llvm.1.dylib' (no such file), '/usr/local/lib/libgraalvm-llvm.1.dylib' (no such file), '/usr/lib/libgraalvm-llvm.1.dylib' (no such file, not in dyld cache))
from /user/.rubies/truffleruby-23.1.0/lib/mri/openssl.rb:13:in `<top (required)>'
from <internal:core> core/kernel.rb:260:in `require'
from -e:1:in `<main>'
It seems that truffleruby 23 requires the installation of the graalvm, where previous ones didn't? If so, shouldn't it be declared as a dependency in the formula, and installed accordingly? Or is this smth else? (I've used OPENSSL_PREFIX against locally installed openssl@3 and @1.1).