OpenSSL missing during ./configure. How to fix?

Multi tool use
I was trying to install node.js and found OpenSSL support missing during ./configure
.
How can I fix it? Is it a mandatory step? Would the --without-ssl
option fix the problem?
# ./configure
Checking for gcc : ok
Checking for library dl : not found
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/home/ec2-user/node-v0.6.6/wscript:374: error: Could not autodetect OpenSSL
support.
Make sure OpenSSL development packages are installed. Use configure --without-ssl
to disable this message.
linux openssl
add a comment |
I was trying to install node.js and found OpenSSL support missing during ./configure
.
How can I fix it? Is it a mandatory step? Would the --without-ssl
option fix the problem?
# ./configure
Checking for gcc : ok
Checking for library dl : not found
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/home/ec2-user/node-v0.6.6/wscript:374: error: Could not autodetect OpenSSL
support.
Make sure OpenSSL development packages are installed. Use configure --without-ssl
to disable this message.
linux openssl
add a comment |
I was trying to install node.js and found OpenSSL support missing during ./configure
.
How can I fix it? Is it a mandatory step? Would the --without-ssl
option fix the problem?
# ./configure
Checking for gcc : ok
Checking for library dl : not found
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/home/ec2-user/node-v0.6.6/wscript:374: error: Could not autodetect OpenSSL
support.
Make sure OpenSSL development packages are installed. Use configure --without-ssl
to disable this message.
linux openssl
I was trying to install node.js and found OpenSSL support missing during ./configure
.
How can I fix it? Is it a mandatory step? Would the --without-ssl
option fix the problem?
# ./configure
Checking for gcc : ok
Checking for library dl : not found
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/home/ec2-user/node-v0.6.6/wscript:374: error: Could not autodetect OpenSSL
support.
Make sure OpenSSL development packages are installed. Use configure --without-ssl
to disable this message.
linux openssl
linux openssl
edited Jul 2 '13 at 0:52
Bradd Szonye
741314
741314
asked Dec 27 '11 at 9:51
P KP K
87391929
87391929
add a comment |
add a comment |
6 Answers
6
active
oldest
votes
Yes, it's a mandatory step. You cannot remove OpenSSL from a program uses it, the same way you couldn't remove random engine parts from a car.
The OpenSSL library is usually already installed, but you have to install the header files. Depending on your Linux distribution, you'll need these packages:
- Red Hat, Fedora, CentOS -
openssl-devel
- Debian, Ubuntu -
libssl-dev
- Arch -
openssl
Technically one could replace OpenSSL with, say, NSS, but that's not the point here.
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
add a comment |
debian:
apt-get install libssl-dev
apt-get install linux-headers-$(uname -r)
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
@KevinPankolibssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
add a comment |
No, it isn't.
You can still compile nodejs with ./configure --without-ssl
add a comment |
This is showing up on Google for a problem that may come up with some installations - possibly links-g. I had the problem on Archlinux with links-utf8 and links-g-directfb.
Likely presentation:
checking OPENSSL_CFLAGS...
checking OPENSSL_LIBS... -lssl -lcrypto
checking for OpenSSL... no
configure: error: OpenSSL not found
Try this:
sed -i "/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/" configure
Using this command before your ./configure
step should fix it.
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
add a comment |
You must install openssl-devel
in your OS with:
yum install openssl-devel.x86_64
./configure --with-tls
make install
add a comment |
If you don't succeed with libssl-dev only, over Debian distro, you could include both SSL Library versions same time
apt-get install libssl-dev libssl1.0
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f371901%2fopenssl-missing-during-configure-how-to-fix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, it's a mandatory step. You cannot remove OpenSSL from a program uses it, the same way you couldn't remove random engine parts from a car.
The OpenSSL library is usually already installed, but you have to install the header files. Depending on your Linux distribution, you'll need these packages:
- Red Hat, Fedora, CentOS -
openssl-devel
- Debian, Ubuntu -
libssl-dev
- Arch -
openssl
Technically one could replace OpenSSL with, say, NSS, but that's not the point here.
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
add a comment |
Yes, it's a mandatory step. You cannot remove OpenSSL from a program uses it, the same way you couldn't remove random engine parts from a car.
The OpenSSL library is usually already installed, but you have to install the header files. Depending on your Linux distribution, you'll need these packages:
- Red Hat, Fedora, CentOS -
openssl-devel
- Debian, Ubuntu -
libssl-dev
- Arch -
openssl
Technically one could replace OpenSSL with, say, NSS, but that's not the point here.
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
add a comment |
Yes, it's a mandatory step. You cannot remove OpenSSL from a program uses it, the same way you couldn't remove random engine parts from a car.
The OpenSSL library is usually already installed, but you have to install the header files. Depending on your Linux distribution, you'll need these packages:
- Red Hat, Fedora, CentOS -
openssl-devel
- Debian, Ubuntu -
libssl-dev
- Arch -
openssl
Technically one could replace OpenSSL with, say, NSS, but that's not the point here.
Yes, it's a mandatory step. You cannot remove OpenSSL from a program uses it, the same way you couldn't remove random engine parts from a car.
The OpenSSL library is usually already installed, but you have to install the header files. Depending on your Linux distribution, you'll need these packages:
- Red Hat, Fedora, CentOS -
openssl-devel
- Debian, Ubuntu -
libssl-dev
- Arch -
openssl
Technically one could replace OpenSSL with, say, NSS, but that's not the point here.
answered Dec 27 '11 at 10:41
grawitygrawity
242k37510567
242k37510567
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
add a comment |
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
1
1
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
thanks a lot, i installed header by yum install openssl-devel
– P K
Dec 27 '11 at 11:00
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
Ah makes sense now. This is needed for wget to ./configure with ssl as well.
– dhaupin
Jul 12 '16 at 18:48
2
2
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >
apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
After using grawitys answer while trying to configure squid (3.5.26) with openssl I've stumbled onto some weird side effect: Unless you have "pkg-config" installed, the library "openssl" and "libssl-dev" gets treated as if it was missing. So I had to install pkg-config as well. It is used in the configure script (around line 23362) to find the path and existence of this package. On debian it is installed by: >
apt-get install pkg-config
– Mihovil Bubnjar
Jun 30 '17 at 8:22
add a comment |
debian:
apt-get install libssl-dev
apt-get install linux-headers-$(uname -r)
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
@KevinPankolibssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
add a comment |
debian:
apt-get install libssl-dev
apt-get install linux-headers-$(uname -r)
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
@KevinPankolibssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
add a comment |
debian:
apt-get install libssl-dev
apt-get install linux-headers-$(uname -r)
debian:
apt-get install libssl-dev
apt-get install linux-headers-$(uname -r)
edited Oct 7 '14 at 18:56
Kevin Panko
5,969113648
5,969113648
answered Oct 7 '14 at 18:18
Albert EAlbert E
6111
6111
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
@KevinPankolibssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
add a comment |
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
@KevinPankolibssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
5
5
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
How and why does this help fix the problem?
– Kevin Panko
Oct 7 '14 at 18:56
1
1
@KevinPanko
libssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko
libssl-dev
– user187717
Oct 20 '14 at 19:28
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
@KevinPanko this works I can confirm. Albert's answer is correct.
– Jeff Atwood
Mar 7 '15 at 13:20
1
1
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
@JeffAtwood I did not doubt it, but it helps when an answer explains why a command is needed.
– Kevin Panko
Mar 8 '15 at 15:38
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
this didn't solved for me, also configure --without-ssl gave me that it is a required package
– Fabiotk
Sep 7 '17 at 3:40
add a comment |
No, it isn't.
You can still compile nodejs with ./configure --without-ssl
add a comment |
No, it isn't.
You can still compile nodejs with ./configure --without-ssl
add a comment |
No, it isn't.
You can still compile nodejs with ./configure --without-ssl
No, it isn't.
You can still compile nodejs with ./configure --without-ssl
edited Oct 7 '14 at 18:55
Kevin Panko
5,969113648
5,969113648
answered Jun 15 '12 at 6:23
grigorisgrigoris
411
411
add a comment |
add a comment |
This is showing up on Google for a problem that may come up with some installations - possibly links-g. I had the problem on Archlinux with links-utf8 and links-g-directfb.
Likely presentation:
checking OPENSSL_CFLAGS...
checking OPENSSL_LIBS... -lssl -lcrypto
checking for OpenSSL... no
configure: error: OpenSSL not found
Try this:
sed -i "/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/" configure
Using this command before your ./configure
step should fix it.
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
add a comment |
This is showing up on Google for a problem that may come up with some installations - possibly links-g. I had the problem on Archlinux with links-utf8 and links-g-directfb.
Likely presentation:
checking OPENSSL_CFLAGS...
checking OPENSSL_LIBS... -lssl -lcrypto
checking for OpenSSL... no
configure: error: OpenSSL not found
Try this:
sed -i "/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/" configure
Using this command before your ./configure
step should fix it.
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
add a comment |
This is showing up on Google for a problem that may come up with some installations - possibly links-g. I had the problem on Archlinux with links-utf8 and links-g-directfb.
Likely presentation:
checking OPENSSL_CFLAGS...
checking OPENSSL_LIBS... -lssl -lcrypto
checking for OpenSSL... no
configure: error: OpenSSL not found
Try this:
sed -i "/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/" configure
Using this command before your ./configure
step should fix it.
This is showing up on Google for a problem that may come up with some installations - possibly links-g. I had the problem on Archlinux with links-utf8 and links-g-directfb.
Likely presentation:
checking OPENSSL_CFLAGS...
checking OPENSSL_LIBS... -lssl -lcrypto
checking for OpenSSL... no
configure: error: OpenSSL not found
Try this:
sed -i "/ac_cpp=/s/$CPPFLAGS/$CPPFLAGS -O2/" configure
Using this command before your ./configure
step should fix it.
edited Oct 7 '14 at 18:56
Kevin Panko
5,969113648
5,969113648
answered Jul 1 '13 at 22:48
anon_ssl_angelanon_ssl_angel
111
111
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
add a comment |
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
1
1
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
why is that patch fixing the problem?
– user237419
Oct 1 '13 at 16:24
add a comment |
You must install openssl-devel
in your OS with:
yum install openssl-devel.x86_64
./configure --with-tls
make install
add a comment |
You must install openssl-devel
in your OS with:
yum install openssl-devel.x86_64
./configure --with-tls
make install
add a comment |
You must install openssl-devel
in your OS with:
yum install openssl-devel.x86_64
./configure --with-tls
make install
You must install openssl-devel
in your OS with:
yum install openssl-devel.x86_64
./configure --with-tls
make install
edited Nov 11 '15 at 12:03


Leathe
706411
706411
answered Nov 10 '15 at 10:10


bedjaoui djounaydibedjaoui djounaydi
212
212
add a comment |
add a comment |
If you don't succeed with libssl-dev only, over Debian distro, you could include both SSL Library versions same time
apt-get install libssl-dev libssl1.0
add a comment |
If you don't succeed with libssl-dev only, over Debian distro, you could include both SSL Library versions same time
apt-get install libssl-dev libssl1.0
add a comment |
If you don't succeed with libssl-dev only, over Debian distro, you could include both SSL Library versions same time
apt-get install libssl-dev libssl1.0
If you don't succeed with libssl-dev only, over Debian distro, you could include both SSL Library versions same time
apt-get install libssl-dev libssl1.0
answered Feb 11 at 14:31


PYKPYK
1013
1013
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f371901%2fopenssl-missing-during-configure-how-to-fix%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
NOsvY3tS8vPV2XIM2NMzCWEN1xV,ko,c,jgFTqAZvsVjWs,8gEaWNDett,N ROYEWVqeGl