Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation error #2

Open
BenjamenLebedev opened this issue Jan 12, 2024 · 0 comments
Open

installation error #2

BenjamenLebedev opened this issue Jan 12, 2024 · 0 comments

Comments

@BenjamenLebedev
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant