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

Install rust failed with openssl errors #3995

Open
2 tasks done
hoverwinter opened this issue Aug 19, 2024 · 1 comment
Open
2 tasks done

Install rust failed with openssl errors #3995

hoverwinter opened this issue Aug 19, 2024 · 1 comment
Labels

Comments

@hoverwinter
Copy link

Verification

Problem

image

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

info: downloading installer
Auto configuration failed
8454617792:error:02FFF001:system library:func(4095):Operation not permitted:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:122:fopen('/private/etc/ssl/openssl.cnf', 'rb')
8454617792:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:127:
8454617792:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/conf/conf_def.c:202:

Steps

Just use script on mac

Possible Solution(s)

No response

Notes

No response

Rustup version

*

Installed toolchains

*

OS version

Apple M3 Pro
macOS 14.4.1 23E224
@djc
Copy link
Contributor

djc commented Aug 19, 2024

What does which curl say, and curl -V? It looks like your curl is using libressl, which definitely seems non-standard? My curl (on macOS 14.5) is /usr/bin/curl which seems to use SecureTransport.

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

No branches or pull requests

2 participants