cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Solaris 5.9 + SSL + curl 7.9.8

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 Aug 2002 12:00:16 +0200 (MET DST)

On Sun, 11 Aug 2002, Rob Andrews wrote:

> If anyone has some helpful suggestions or knows where I can grab a binary
> for solaris 9 that's up to date please let me know..

Doesn't the Solaris 8 binaries work just fine on Solaris 9 too?

[snip]

> /usr/ccs/bin/ld -G -z defs -h libcurl.so.2 -o .libs/libcurl.so.2.0.2
> file.lo timeval.lo base64.lo hostip.lo progress.lo formdata.lo cookie.lo
> http.lo sendf.lo ftp.lo url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo
> ldap.lo ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo
> getpass.lo netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo security.lo
> krb4.lo memdebug.lo http_chunks.lo strtok.lo connect.lo llist.lo hash.lo
> multi.lo -L/usr/local/ssl/lib -lssl -lcrypto -ldl -lsocket -lnsl -lc

> Undefined first referenced
> symbol in file
> __floatdidf file.lo

> ld: fatal: Symbol referencing errors. No output written to
> .libs/libcurl.so.2.0.2

My guess is that this happens because you compile everything with gcc but
link with your system's "ld". This will make the linker miss the libgcc
library.

I guess you can fix this either way: link with the GNU ld, or make sure the
libgcc is included on the link command line.

Possibly, the configure option --with-gnu-ld could be useful too...

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-08-12