cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with Solaris and Curl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 1 Jul 2004 08:42:56 +0200 (CEST)

On Wed, 30 Jun 2004 huffo_at_ig.com.br wrote:

> The link´s problem is:
> http://curl.haxx.se/mail/archive-2003-11/0051.html

That posting is a totally different problem. That is simply about the lib not
being found.

> bash-2.03# ldd /usr/local/bin/curl
> libcurl.so.2 => /usr/local/lib/libcurl.so.2
> libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6
> libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6

...

> and curl returns:
> bash-2.03# curl
> ld.so.1: curl: fatal: relocation error: file /usr/lib/libssl.so.0.9.6:
> symbol main: referenced symbol not found
> Killed

I don't see how this is a curl problem when this clearly identifies the libssl
to reference a symbol it can't find. (Not that I can understand why it wants
the 'main' symbol in the first place or why it doesn't find it.)

Personally, I build curl and OpenSSL fine on Solaris but I believe I usually
use static libs.

What curl version is this? Did you use gcc to build it? Did you try getting a
pre-built binary?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-01