Task #13142 (closed)
Opened 8 years ago
Closed 8 years ago
BUG: Server install error 'openssl/ssl.h' file not found on El Capitan
Reported by: | rkferguson | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | General | Version: | OMERO-5.2.0 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Trying to install ONERO.server using Homebrew as per instructions on web site.
Using Mac OSX 10.11.2 - El Capitan.
Got the following error message.
When I did "brew install openssl" it said "openssl-1.0.2e_1 already installed"
{{{...
######################################################################## 100.0%
==> Pouring openssl-1.0.2e_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2e_1: 465 files, 11.9M
==> Installing ome/alt/omero52 dependency: mcpp
==> Downloading https://downloads.sourceforge.net/project/mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz
==> Downloading from http://kent.dl.sourceforge.net/project/mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz
######################################################################## 100.0%
==> Patching
patching file src/internal.H
patching file src/main.c
patching file src/support.c
patching file src/system.c
==> ./configure --prefix=/usr/local/Cellar/mcpp/2.7.2 --enable-mcpplib
==> make install
🍺 /usr/local/Cellar/mcpp/2.7.2: 16 files, 1.3M, built in 12 seconds
==> Installing ome/alt/omero52 dependency: zeroc-ice35
==> Downloading http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz
==> Downloading from http://download.zeroc.com/Ice/3.5/Ice-3.5.1.tar.gz
######################################################################## 100.0%
==> Patching
patching file cpp/config/Make.rules.Darwin
patching file py/config/Make.rules.Darwin
patching file cpp/src/IceGrid/DescriptorHelper.h
==> Downloading http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
######################################################################## 100.0%
==> ../dist/configure --disable-debug --prefix=/usr/local/Cellar/zeroc-ice35/3.5.1_1/libexec --mandir=/usr/local/Cellar/zeroc-ic
==> make install
==> make prefix=/usr/local/Cellar/zeroc-ice35/3.5.1_1 install_mandir=/usr/local/Cellar/zeroc-ice35/3.5.1_1/share/man/man1 instal
Last 15 lines from /Users/gus/Library/Logs/Homebrew/zeroc-ice35/03.make:
../../bin/slice2cpp --ice --include-dir IceSSL --dll-export ICE_SSL_API -I../../../slice ../../../slice/IceSSL/EndpointInfo.ice
mv EndpointInfo?.h ../../include/IceSSL
rm -f ../../include/IceSSL/ConnectionInfo.h ConnectionInfo?.cpp
../../bin/slice2cpp --ice --include-dir IceSSL --dll-export ICE_SSL_API -I../../../slice ../../../slice/IceSSL/ConnectionInfo.ice
mv ConnectionInfo?.h ../../include/IceSSL
clang++ -c -I.. -pthread -I../../include -DICE_SSL_API_EXPORTS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 -Wall -D_REENTRANT AcceptorI.cpp
In file included from AcceptorI.cpp:11:
In file included from ../IceSSL/Instance.h:14:
../IceSSL/UtilF.h:17:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
1 error generated.
make[2]: * [AcceptorI.o] Error 1
make[1]: * [IceSSL] Error 2
make: * [all] Error 1
}}}
Change History (2)
comment:1 Changed 8 years ago by rkferguson
comment:2 Changed 8 years ago by jburel
- Resolution set to fixed
- Status changed from new to closed
After D/W Sébastien - ran:
brew link openssl --force
Linking /usr/local/Cellar/openssl/1.0.2e_1... 1556 symlinks created
This seemed to solve the issue.