libcURL perform function crashing.

I've been working on switching a paypal gateway written in c++ over from the sdk to libcurl. I think I have everything setup correctly, however, when it gets to curl_easy_perform(myRequest) I get a 500 error, with a Premature end of script headers error dumped in the log file. I'm almost certain it is the call to perform that is doing it.

When compiling I got a warning

/usr/bin/ld: warning: libssl.so.2, needed by /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libcurl.so, may conflict with libssl.so.4
/usr/bin/ld: warning: libcrypto.so.2, needed by /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libcurl.so, may conflict with libcrypto.so.4

I'm wondering if this could be causing it. I need to finish this project very soon and need help quick.

Should note: The file is a compiled .cgi and runs fine until I click the button which performs cURL.

Thanks,
Brandon
Last edited on
Update: I dumped the necessary headers before running curl_easy_perform() and it just gave me a white screen. Curl is dying, don't know why. Please Help!!!!
Topic archived. No new replies allowed.