Repository navigation
Make and make install file openssl not found OSX #1107
Copy link
Copy link
Closed
Description
I tried to make module ejabberd in elixir in OSX EL Captitan following this guide https://blog.process-one.net/ejabberd-joins-the-elixir-revolution/
I have a trouble when make && make install
I got error like these
rm -rf deps/.got
rm -rf deps/.built
/usr/local/Cellar/erlang/18.3/lib/erlang/bin/escript rebar get-deps && :> deps/.got
==> goldrush (get-deps)
==> lager (get-deps)
==> p1_utils (get-deps)
==> cache_tab (get-deps)
==> fast_tls (get-deps)
==> stringprep (get-deps)
==> fast_xml (get-deps)
==> stun (get-deps)
==> esip (get-deps)
==> fast_yaml (get-deps)
==> jiffy (get-deps)
==> p1_oauth2 (get-deps)
==> p1_xmlrpc (get-deps)
==> luerl (get-deps)
==> ezlib (get-deps)
==> elixir (get-deps)
==> rebar_elixir_plugin (get-deps)
==> iconv (get-deps)
==> rel (get-deps)
==> ejabberd (get-deps)
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/Cellar/erlang/18.3/lib/erlang/erts-7.3/bin/erl
checking for erlc... /usr/local/Cellar/erlang/18.3/lib/erlang/erts-7.3/bin/erlc
checking for SSL_free in -lssl... yes
checking for SHA1_Init in -lcrypto... yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking openssl/err.h usability... no
checking openssl/err.h presence... no
checking for openssl/err.h... no
checking openssl/sha.h usability... no
checking openssl/sha.h presence... no
checking for openssl/sha.h... no
configure: error: OpenSSL header file "openssl/ssl.h" was not found
ERROR: Command ['get-deps'] failed!
make: *** [deps/.got] Error 1
I have tried
brew link openssl --force
It still not working
Do you have any solution for this?
Edit
just got solution
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
mremond commentedon May 9, 2016
What was the solution ?
Had you installed openssl through homebrew ?
Path set up ?
philipmoniaga commentedon May 9, 2016
yes path setup
it solve my problem
We5ter commentedon Aug 26, 2017
@philipmoniaga nice!thank you
erkiesken commentedon Sep 6, 2017
Just a note to others that after path setup with export run the
./configureagain and thenmake.scubbo commentedon Jan 6, 2018
This didn't work for me:
Any ideas?
EDIT: I successfully installed with this instead.
slzhu commentedon Jan 9, 2018
another env variable maybe work sometimes, see below
export LIBRARY_PATH="/usr/local/opt/openssl/lib"Here is a detailed explanation
It depends on what it checking, headers or library, and also when it occur, configure or make. The *FLAGS and LIBRARY_PATH work for different scenes
ludwikbukowski commentedon Jun 13, 2018
This works for me
where you substitute
1.0.2nwith your openssl versionlock commentedon Jun 13, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.