Skip to content

BUILD FAILED (macOS 14.6.1 on arm64 using ruby-build 20240727) #2439

Closed Answered by mislav
starwels asked this question in Build failures
Discussion options

You must be logged in to vote

From these lines:

checking whether LDFLAGS is valid... no
configure: error: something wrong with LDFLAGS="-L/opt/homebrew/opt/libpq/lib -L/opt/homebrew/opt/libxslt/lib -L/usr/local/opt/openssl/lib"

to me it sounds like some of the directories listed in your LDFLAGS environment variable are invalid or missing. Furthermore, it seems to refer to a /usr/local/opt/openssl directory, which seems wrong to me because it's neither the location of Homebrew OpenSSL nor the system one. Please retry building Ruby with the LDFLAGS environment variable cleared out:

LDFLAGS="" rbenv install 3.2.1

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@meabbasmehdi
Comment options

Answer selected by starwels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants
Converted from issue

This discussion was converted from issue #2434 on August 29, 2024 03:09.