-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I've tried to install Ruffle through Homebrew:
brew install --HEAD ruffle-rs/ruffle/ruffle
but during execution of cargo build --package=ruffle_desktop I get the following output:
Compiling dirs v5.0.1 Compiling os_info v3.7.0 Compiling sys-locale v0.3.1 error: linking withcc` failed: exit status: 1
= note: /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /tmp/ruffle-20240112-38966-x89ddt/target/debug/deps/libcurl_sys-7febe95ed6fa6e9f.rlib(openssl.o): in function ossl_connect_step2': /home/benjamen/.cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.70+curl-8.5.0/curl/lib/vtls/openssl.c:3994:(.text.ossl_connect_step2+0x638): undefined reference to SSL_get0_group_name'
collect2: error: ld returned 1 exit status
= note: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile ruffle_desktop (bin "ruffle_desktop") due to previous error
`
I tried to install openssl from Homebrew and also tried to modify the makefile at ~/cache/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.70+curl-8.5.0/curl/lib
to include -libcrypto and -libssl but to no success.
It seems like the installation process doesn't recognise the openssl libraries that are installed in the system.
Are there any clues as to how to solve this problem?