0
1
I am trying to compile a new package that is based on OpenWRT (it is some kind of a modified OpenWRT). During the ./configure
proccess I am getting a fail due to OpenSSL that is missing but when I checked it is already insatlled.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = (unset),
LC_COLLATE = "C",
LC_CTYPE = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Apply config ./ugw/config/GRX750_HE_VDSL_LTE_GW_72
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'libssl'... failed.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'md5sum'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'openssl'... ok.
Checking 'ldconfig-stub'... ok.
Build dependency: Please install the openssl library (with development headers)
Prerequisite check failed. Use FORCE=1 to override.
make: *** [staging_dir/host/.prereq-build] Error 1
When I run yum install openssl
or yum install openssl-devel
I am getting
Package openssl-1.0.1e-57.el6.x86_64 already installed and latest version
I already looked at similar issues such - OpenSSL missing during ./configure. How to fix? and OpenSSL not found during ./configure but they didn't help in my case.
Not sure if it is related but maybe those locale
warning I am getting at the beginning are related?
My OS is CentOS 6.
Thanks!
Checking 'libssl'... failed
might be the reason. Is there a package that provideslibssl
? Perhapsyum install libssl
? I know Ubuntu has alibssl-dev
package. – Nathan.Eilisha Shiraini – 2017-07-12T11:45:49.387@NathanShiraini AFAIK
libssl-dev
isopenssl-devel
in CentOS – A. Sarid – 2017-07-12T11:46:52.203It appears you have openSSL installed but you don't have it installed with the developer handles, per the error message, "Please install the openssl library (with development headers)" – Ramhound – 2017-07-12T16:41:46.313
Of course 1.0.1e isn't the current version either. – Ramhound – 2017-07-12T16:42:16.780
@Ramhound isn't
openssl-devel
the "development headers"? – A. Sarid – 2017-07-12T19:19:12.807Have you tried to remove openssl then install it? – Ramhound – 2017-07-12T19:37:51.323
You may need to override the default location of the header files. You should start (and end?) by looking at documentation for the package you are trying to build. Usually, this means setting an environment variable fore
./configure
or by adding an argument to the program. – lungj – 2017-07-12T20:19:05.960