How to install libssl-dev ,libffi-dev on Mac os?
up vote
11
down vote
favorite
I can install libssl-dev
and libffi-dev
on Ubuntu with the command apt-get install libssl-dev libffi-dev
, But I can't install on Mac; I have tried using the command: brew install libssl-dev libffi
but not working for me.
What do I need to do to get homebrew to install this?
macos homebrew
add a comment |
up vote
11
down vote
favorite
I can install libssl-dev
and libffi-dev
on Ubuntu with the command apt-get install libssl-dev libffi-dev
, But I can't install on Mac; I have tried using the command: brew install libssl-dev libffi
but not working for me.
What do I need to do to get homebrew to install this?
macos homebrew
brew install libffi
stackoverflow.com/a/44707470/32453
– rogerdpack
Feb 22 at 16:14
add a comment |
up vote
11
down vote
favorite
up vote
11
down vote
favorite
I can install libssl-dev
and libffi-dev
on Ubuntu with the command apt-get install libssl-dev libffi-dev
, But I can't install on Mac; I have tried using the command: brew install libssl-dev libffi
but not working for me.
What do I need to do to get homebrew to install this?
macos homebrew
I can install libssl-dev
and libffi-dev
on Ubuntu with the command apt-get install libssl-dev libffi-dev
, But I can't install on Mac; I have tried using the command: brew install libssl-dev libffi
but not working for me.
What do I need to do to get homebrew to install this?
macos homebrew
macos homebrew
edited Jun 20 '16 at 3:15
Simon Sheehan
7,582124168
7,582124168
asked Jun 15 '16 at 4:05
Jackie
56113
56113
brew install libffi
stackoverflow.com/a/44707470/32453
– rogerdpack
Feb 22 at 16:14
add a comment |
brew install libffi
stackoverflow.com/a/44707470/32453
– rogerdpack
Feb 22 at 16:14
brew install libffi
stackoverflow.com/a/44707470/32453– rogerdpack
Feb 22 at 16:14
brew install libffi
stackoverflow.com/a/44707470/32453– rogerdpack
Feb 22 at 16:14
add a comment |
2 Answers
2
active
oldest
votes
up vote
16
down vote
Those particular packages do not exist under those names on both MacPorts and Homebrew - hence the errors you are receiving. In order to install these particular packages on OS X, you will want to use openssl
. The following command should help you out:
brew install openssl
If you already have openssl
installed, try running the following in order to repair it - some users over on Stack Overflow reported this as a fix when trying to get Django working.
brew unlink openssl && brew link openssl --force
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
add a comment |
up vote
1
down vote
I was trying to get Crystal off the ground on MacOS Mojave and ran into a similar issue.
This is the error message I was seeing:
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/mymbp/.cache/crystal/crystal-run-server.tmp' -rdynamic
`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
--silence-errors libcrypto || printf %s '-lcrypto'` -lz -lpcre -lgc -lpthread
/usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -
L/usr/lib -L/usr/local/lib`
Searching /usr/local/lib I noticed there was no mention of libssl.
So I added a symlink and that seemed to fix it.
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Note: The current version of openssl that brew drops is 1.0.2p, your version may be different.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
16
down vote
Those particular packages do not exist under those names on both MacPorts and Homebrew - hence the errors you are receiving. In order to install these particular packages on OS X, you will want to use openssl
. The following command should help you out:
brew install openssl
If you already have openssl
installed, try running the following in order to repair it - some users over on Stack Overflow reported this as a fix when trying to get Django working.
brew unlink openssl && brew link openssl --force
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
add a comment |
up vote
16
down vote
Those particular packages do not exist under those names on both MacPorts and Homebrew - hence the errors you are receiving. In order to install these particular packages on OS X, you will want to use openssl
. The following command should help you out:
brew install openssl
If you already have openssl
installed, try running the following in order to repair it - some users over on Stack Overflow reported this as a fix when trying to get Django working.
brew unlink openssl && brew link openssl --force
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
add a comment |
up vote
16
down vote
up vote
16
down vote
Those particular packages do not exist under those names on both MacPorts and Homebrew - hence the errors you are receiving. In order to install these particular packages on OS X, you will want to use openssl
. The following command should help you out:
brew install openssl
If you already have openssl
installed, try running the following in order to repair it - some users over on Stack Overflow reported this as a fix when trying to get Django working.
brew unlink openssl && brew link openssl --force
Those particular packages do not exist under those names on both MacPorts and Homebrew - hence the errors you are receiving. In order to install these particular packages on OS X, you will want to use openssl
. The following command should help you out:
brew install openssl
If you already have openssl
installed, try running the following in order to repair it - some users over on Stack Overflow reported this as a fix when trying to get Django working.
brew unlink openssl && brew link openssl --force
edited May 23 '17 at 12:41
Community♦
1
1
answered Jun 20 '16 at 3:21
Simon Sheehan
7,582124168
7,582124168
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
add a comment |
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
How do you do it without brew and without sudo?
– tommy.carstensen
Mar 24 '17 at 22:40
add a comment |
up vote
1
down vote
I was trying to get Crystal off the ground on MacOS Mojave and ran into a similar issue.
This is the error message I was seeing:
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/mymbp/.cache/crystal/crystal-run-server.tmp' -rdynamic
`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
--silence-errors libcrypto || printf %s '-lcrypto'` -lz -lpcre -lgc -lpthread
/usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -
L/usr/lib -L/usr/local/lib`
Searching /usr/local/lib I noticed there was no mention of libssl.
So I added a symlink and that seemed to fix it.
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Note: The current version of openssl that brew drops is 1.0.2p, your version may be different.
add a comment |
up vote
1
down vote
I was trying to get Crystal off the ground on MacOS Mojave and ran into a similar issue.
This is the error message I was seeing:
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/mymbp/.cache/crystal/crystal-run-server.tmp' -rdynamic
`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
--silence-errors libcrypto || printf %s '-lcrypto'` -lz -lpcre -lgc -lpthread
/usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -
L/usr/lib -L/usr/local/lib`
Searching /usr/local/lib I noticed there was no mention of libssl.
So I added a symlink and that seemed to fix it.
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Note: The current version of openssl that brew drops is 1.0.2p, your version may be different.
add a comment |
up vote
1
down vote
up vote
1
down vote
I was trying to get Crystal off the ground on MacOS Mojave and ran into a similar issue.
This is the error message I was seeing:
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/mymbp/.cache/crystal/crystal-run-server.tmp' -rdynamic
`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
--silence-errors libcrypto || printf %s '-lcrypto'` -lz -lpcre -lgc -lpthread
/usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -
L/usr/lib -L/usr/local/lib`
Searching /usr/local/lib I noticed there was no mention of libssl.
So I added a symlink and that seemed to fix it.
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Note: The current version of openssl that brew drops is 1.0.2p, your version may be different.
I was trying to get Crystal off the ground on MacOS Mojave and ran into a similar issue.
This is the error message I was seeing:
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/mymbp/.cache/crystal/crystal-run-server.tmp' -rdynamic
`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
--silence-errors libcrypto || printf %s '-lcrypto'` -lz -lpcre -lgc -lpthread
/usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -
L/usr/lib -L/usr/local/lib`
Searching /usr/local/lib I noticed there was no mention of libssl.
So I added a symlink and that seemed to fix it.
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Note: The current version of openssl that brew drops is 1.0.2p, your version may be different.
answered Nov 14 at 11:12
kroolk
1112
1112
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1089390%2fhow-to-install-libssl-dev-libffi-dev-on-mac-os%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
brew install libffi
stackoverflow.com/a/44707470/32453– rogerdpack
Feb 22 at 16:14