cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problems compiling cURL 7.10.1 on Solaris 9.

From: Dabney, Blane <BDabney_at_dallasnews.com>
Date: Wed, 30 Oct 2002 10:58:32 -0600

I've been trying to install cURL on my Solaris 9 box for the past couple of
days, but I've had some problems. I have gcc-3.2 from sunfreeware installed,
the binutils package for Solaris 8 (seems to work fine on 9), and the
assorted other GNU utilities (autoconf, automake, make, m4, findutils,
etc.). I ran ./configure as follows:

bash-2.05$ AR=/usr/local/bin/ar AS=/usr/local/bin/as NM=/usr/local/bin/nm
LD=/usr/local/bin/ld ./configure --with-ssl --with-zlib

When I run make, the compile process flys by without a hitch. It fails while
linking however. Here's the last few lines of output from make:

make all-am
make[2]: Entering directory `/export/home/bdabney/curl-7.10.1/lib'
/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/local/ssl/lib -o
libcurl.la -rpath /usr/local/lib -no-undefined -version-info 2:2:0 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
content_encoding.lo -lz -lssl -lcrypto -ldl -lsocket -lnsl -lz
rm -fr .libs/libcurl.la .libs/libcurl.* .libs/libcurl.*
gcc -shared 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 content_encoding.lo -L/usr/local/ssl/lib -lz -lssl
-lcrypto -ldl -lsocket -lnsl -lz -lc -Wl,-soname -Wl,libcurl.so.2 -o
.libs/libcurl.so.2.0.2
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libcurl.so.2: open failed: No such file or directory
ld: fatal: File processing errors. No output written to
.libs/libcurl.so.2.0.2
collect2: ld returned 1 exit status
make[2]: *** [libcurl.la] Error 1
make[2]: Leaving directory `/export/home/bdabney/curl-7.10.1/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/bdabney/curl-7.10.1/lib'
make: *** [all-recursive] Error 1

Any ideas? I'm fresh out.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-30