You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sebastien Barrier (JIRA)" <ji...@apache.org> on 2016/02/26 17:32:18 UTC
[jira] [Created] (HADOOP-12845) Improve Openssl library finding on
RedHat system
Sebastien Barrier created HADOOP-12845:
------------------------------------------
Summary: Improve Openssl library finding on RedHat system
Key: HADOOP-12845
URL: https://issues.apache.org/jira/browse/HADOOP-12845
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 2.7.2
Reporter: Sebastien Barrier
Priority: Minor
The issue is related to [https://issues.apache.org/jira/browse/HADOOP-11216].
In the BUILDING.txt it's specified "Use -Drequire.openssl to fail the build if libcrypto.so is not found".
On RedHat system (Fedora/Centos/...) the /usr/lib64/libcrypto.so is a link provided by openssl-devel RPM package which is fine on a build/development host, but devel packages are not supposed to be installed on Production servers (Hadoop Cluster) and the openssl RPM package don't include that link which is a problem.
# hadoop checknative -a
...
openssl: false Cannot load libcrypto.so (libcrypto.so: cannot open shared object file: No such file or directory)!
There's only /usr/lib64/libcrypto.so.10 but no /usr/lib64/libcrypto.so
Also trying to compile with "-Drequire.openssl -Dopenssl.lib=/usr/lib64/libcrypto.so.10" failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)