-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Crystal not working in Mac OS X Mojave #6875
Comments
Solution:
|
To add to what @jasdeepsingh is saying. Ensure you have installed Let
Verify |
pkg-config seems to always be required to compile Crystal programs, see crystal-lang/crystal#6875
In my case all I had to do was add Should this be in the docs or installation feedback so people don't have to find it via the Googles? Happy to write a PR for that. |
@joshuapinter thanks, It's already submitted in a PR crystal-lang/crystal-book#312 |
Beauty, thanks! 👍 |
I first encountered this issue while install Crystal on my Mac and second time while installing Easiest way I was able to make it work was by doing:
(Make sure your openssl version is correct) and then
Then continue with installation... |
I'd suggest re-opening this until the packaging can be updated to "link directly to OpenSSL in brew" or what not... |
* Especially `kemal-sample` needs to update dependencies to include kemalcr/kemal#570 * If you faced an error as below `ld: library not found for -lssl (this usually means you need to install the development package for libssl)` on Mac OS X, `export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig` will help you ref: crystal-lang/crystal#6875 (comment)
After the upgrade I reinstalled xcode command line tools.
I've removed and reinstalled OpenSSL, MariaDB, Crystal via homebrew and added it back via crenv.
I get the following error.
The text was updated successfully, but these errors were encountered: