PDA

View Full Version : cUrl with SSL



tino
01-22-2004, 02:27 AM
Hi,

In the build script in /usr/local/directadmin/customapache I added "--with-ssl" to the curl configure line.
(e.g. ./configure --with-ssl)

But cUrl won't build with SSL!

I tried to set the LDFLAGS and CPPFLAGS before, but that didn't solve anything.

Has anyone built cUrl with SSL support?!?!?

Tino

tino
01-22-2004, 03:34 AM
Okay, got it.

It was the same old RedHat 9 Kerberos stuff...

Change the ./configure line for curl in the build file to include the CPP and LD flags for the kerberos location.

Tino

Dixiesys
03-03-2004, 12:45 PM
I'm trying to get curl-ssl going too, "what ld flags"? haha so far my google search hasn't helped so figured I'd ask :)

Thanks.

tino
03-03-2004, 01:05 PM
For example:

CPPFLAGS="-I/usr/kerberos/include" ./configure

Dixiesys
03-03-2004, 01:38 PM
Aha that did it, ugh something so simple yet so hard to debug.

rumrugby
04-30-2004, 04:01 AM
Hi,

I need Curl to were with SSL and i am completely lost by this thread... is there anyone who knows how to do this properly and can post it on this thread??? it would be much appreciate :)

Thanks

tino
04-30-2004, 06:13 AM
This sounds pretty obvious to me...

In the build script in /usr/local/directadmin/customapache add "--with-ssl" to the curl configure line. In that same line, preceed the ./configure command with:
CPPFLAGS="-I/usr/kerberos/include"

Tino

rumrugby
04-30-2004, 03:09 PM
ok thankyou,

sorry to be inferior to you. :D

rumrugby
04-30-2004, 09:01 PM
i did exactly what you said however is STILL did not work ...??? what does one do now?

ProWebUK
04-30-2004, 09:19 PM
Use:

CPPFLAGS=-I/usr/kerberos/include LDFLAGS=-L/usr/kerberos/lib

Chris

rumrugby
04-30-2004, 10:25 PM
still no success, here is exactly what is there, i have included the above and below lines aswell:


echo "configuring curl-$(CURL_VER)...";
CPPFLAGS="-I/usr/kerberos/include" "LDFLAGS="-L/usr/kerberos/lib" ./configure --with-ssl
/usr/bin/perl -pi ...............ect.

tino
05-01-2004, 12:20 AM
There appear to be a wrong number of quotes in:

CPPFLAGS="-I/usr/kerberos/include" "LDFLAGS="-L/usr/kerberos/lib" ./configure --with-ssl


try

CPPFLAGS="-I/usr/kerberos/include" LDFLAGS="-L/usr/kerberos/lib" ./configure --with-ssl

rumrugby
05-01-2004, 01:43 AM
sorry, that was my fault i just wrote it wrong. There is no quotation mark before the LDFLAG

this is still a problem :(

rumrugby
05-03-2004, 12:53 AM
hmmm still havent worked it out!

tino
05-03-2004, 01:19 AM
Could you give us the error you get?

Tino

rumrugby
05-03-2004, 03:53 AM
i dont get an error as such, however i need curl configured with ssl for who.is cart to work. the server requirements script that they provide is informing me that everything is ok except that curl is not configured with ssl .... not sure what i should do, maybe it would run without curl built with ssl... any ideas?

thanks!

tino
05-03-2004, 04:16 AM
Please create a simple php page that uses curl with ssl, and see what happens there.

Tino

Sushant
04-15-2009, 04:05 PM
I know this is an old thread, is this issue resolved yet or not? I need to rebuild PHP with curlssl and I tried everything mentioned in this thread but still no luck. Any suggestions??

Thanks

Sushant
04-15-2009, 05:35 PM
Resolved!!

it was the firewall... I stopped the APF and it started to work.