Compile curl with openssl Announcing the arrival of Valued Associate #679: Cesar Manara ...
Unix AIX passing variable and arguments to expect and spawn
Who's this lady in the war room?
2 sample t test for sample sizes - 30,000 and 150,000
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
Short story about an alien named Ushtu(?) coming from a future Earth, when ours was destroyed by a nuclear explosion
Why aren't these two solutions equivalent? Combinatorics problem
Will I be more secure with my own router behind my ISP's router?
Lights are flickering on and off after accidentally bumping into light switch
Providing direct feedback to a product salesperson
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Compiling and throwing simple dynamic exceptions at runtime for JVM
Who can become a wight?
lm and glm function in R
Trying to enter the Fox's den
Is there a verb for listening stealthily?
When speaking, how do you change your mind mid-sentence?
Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?
Knights and Knaves question
Can I ask an author to send me his ebook?
tabularx column has extra padding at right?
What could prevent concentrated local exploration?
Can I take recommendation from someone I met at a conference?
Determine the generator of an ideal of ring of integers
How to leave only the following strings?
Compile curl with openssl
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!How to update OpenSSL using Putty and yum commandCan't compile nginx with SSL support, OpenSSL not foundCompile apache 2.2.23 on Ubuntu 12.04.1 LTS with openssl errorConnection to URL using OpenSSL client works, but curl failsCompilie ruby 1.8.6 with openssl 0.9.8Installing an intermediate cert on Debian 8 for curl/openssl connections.How to build curl for TLSv1.2 support?Setting up tomcat 8.5 on RHEL 7Compiling nginx 1.11.9 on CentOS 6 with OpenSSL 1.0.2kSSL certificate working in chrome but not openssl s_client or curl
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm trying to compile curl
with openssl
support and though I've tried for hours I still cannot figure out what I'm doing wrong.
Here's what I did:
compile
openssl
like this:
cd /usr/local/install/openssl-1.0.2a
./config
make
make install
try to compile
curl
cd /usr/local/install/curl-7.42.1
./configure --with-ssl=/usr/local/ssl/
make
and I get this error:
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
openssl curl
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 1 more comment
I'm trying to compile curl
with openssl
support and though I've tried for hours I still cannot figure out what I'm doing wrong.
Here's what I did:
compile
openssl
like this:
cd /usr/local/install/openssl-1.0.2a
./config
make
make install
try to compile
curl
cd /usr/local/install/curl-7.42.1
./configure --with-ssl=/usr/local/ssl/
make
and I get this error:
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
openssl curl
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
5
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
1
Please explain what operating system is this, why can't use the pre-compiled packages (which already haveopenssl
support, e.gldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.
– dawud
Jun 4 '15 at 20:20
1
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31
|
show 1 more comment
I'm trying to compile curl
with openssl
support and though I've tried for hours I still cannot figure out what I'm doing wrong.
Here's what I did:
compile
openssl
like this:
cd /usr/local/install/openssl-1.0.2a
./config
make
make install
try to compile
curl
cd /usr/local/install/curl-7.42.1
./configure --with-ssl=/usr/local/ssl/
make
and I get this error:
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
openssl curl
I'm trying to compile curl
with openssl
support and though I've tried for hours I still cannot figure out what I'm doing wrong.
Here's what I did:
compile
openssl
like this:
cd /usr/local/install/openssl-1.0.2a
./config
make
make install
try to compile
curl
cd /usr/local/install/curl-7.42.1
./configure --with-ssl=/usr/local/ssl/
make
and I get this error:
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
openssl curl
openssl curl
edited Jun 4 '15 at 20:18
dawud
13.6k33356
13.6k33356
asked Jun 4 '15 at 18:37
Alex FloAlex Flo
89821121
89821121
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
5
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
1
Please explain what operating system is this, why can't use the pre-compiled packages (which already haveopenssl
support, e.gldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.
– dawud
Jun 4 '15 at 20:20
1
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31
|
show 1 more comment
5
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
1
Please explain what operating system is this, why can't use the pre-compiled packages (which already haveopenssl
support, e.gldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.
– dawud
Jun 4 '15 at 20:20
1
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31
5
5
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
1
1
Please explain what operating system is this, why can't use the pre-compiled packages (which already have
openssl
support, e.g ldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.– dawud
Jun 4 '15 at 20:20
Please explain what operating system is this, why can't use the pre-compiled packages (which already have
openssl
support, e.g ldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.– dawud
Jun 4 '15 at 20:20
1
1
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31
|
show 1 more comment
1 Answer
1
active
oldest
votes
I finally found a way to compile curl, this is what worked for me:
openssl:
./config -fPIC no-gost no-shared no-zlib
make depend
make
make install
curl:
./configure --with-ssl=/usr/local/ssl
make
make install
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
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%2fserverfault.com%2fquestions%2f696721%2fcompile-curl-with-openssl%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I finally found a way to compile curl, this is what worked for me:
openssl:
./config -fPIC no-gost no-shared no-zlib
make depend
make
make install
curl:
./configure --with-ssl=/usr/local/ssl
make
make install
add a comment |
I finally found a way to compile curl, this is what worked for me:
openssl:
./config -fPIC no-gost no-shared no-zlib
make depend
make
make install
curl:
./configure --with-ssl=/usr/local/ssl
make
make install
add a comment |
I finally found a way to compile curl, this is what worked for me:
openssl:
./config -fPIC no-gost no-shared no-zlib
make depend
make
make install
curl:
./configure --with-ssl=/usr/local/ssl
make
make install
I finally found a way to compile curl, this is what worked for me:
openssl:
./config -fPIC no-gost no-shared no-zlib
make depend
make
make install
curl:
./configure --with-ssl=/usr/local/ssl
make
make install
edited Oct 2 '15 at 6:08
JakeGould
3,2141836
3,2141836
answered Jun 8 '15 at 6:02
Alex FloAlex Flo
89821121
89821121
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f696721%2fcompile-curl-with-openssl%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
5
Compiling curl seems to be the first thing you're doing wrong.
– Michael Hampton♦
Jun 4 '15 at 18:39
1
Please explain what operating system is this, why can't use the pre-compiled packages (which already have
openssl
support, e.gldd $(which curl) | grep ssl
) and what business or professional requirement do you have for a custom compilation.– dawud
Jun 4 '15 at 20:20
1
@MichaelHampton why is that, could you please explain?
– Alex Flo
Jun 8 '15 at 5:49
@dawud it is a Debian 6.0. I've been using the pre-compiled packages until now but when trying to connect to some HTTPs URLs I received errors. There wasn't (or I couldn't find) any newer curl version for this Debian and I needed to compile a curl with a newer version of openssl so I can make it work.
– Alex Flo
Jun 8 '15 at 5:58
If you're getting https errors, why are you trying to upgrade curl?
– Michael Hampton♦
Jun 8 '15 at 6:31