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

asdf install fails in sample app #28

Open
oimediaDev opened this issue Oct 17, 2023 · 1 comment
Open

asdf install fails in sample app #28

oimediaDev opened this issue Oct 17, 2023 · 1 comment

Comments

@oimediaDev
Copy link

I am running the project on an M1 Mac

trying to build a sample project I get build error

"checking for library containing clock_gettime... none required
checking for library containing fdatasync... none required
checking for library containing sched_yield... none required
checking for library containing gethostbyname_r... no
checking for library containing shmget... none required
checking for library containing backtrace_symbols... none required
checking for library containing readline... -lreadline
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL"

openSSL is installed as far as I can see

@peteryates
Copy link
Member

Thanks for reporting @oimediaDev, afraid I missed this until just now.

Did you make any progress?

Do you know which of the tools asdf is installing causes the problem?

If you run asdf plugin list it will show the enabled plugins, and asdf list will show the versions of each tool you have. Manually stepping through main/templates/asdf.rb and running the commands on their own might shed more light on what's going on.

Based on my Googling (and not having a mac to test on) my suspicion would be that it's PostgreSQL causing the problems, as there are lots of threads outlining how to manually specify where certain libraries are. If this is the case I'd recommend manually installing Ruby, Node and Yarn with asdf and using Postgres.app or installing it via Homebrew.

Hope that helps!

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

2 participants