cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: "RE: Problems compiling cURL 7.10.1 on Solaris 9."

From: Greg <sluggo_at_sluggis.com>
Date: Mon, 13 Jan 2003 16:26:02 -0800

Sorry about not giving more info...

When installing, I do the normal gunzip then tar -xvf to get started. Then
run configure:

# ./configure --with-ssl

That runs fine, I don't see any errors there.

The problem is when I run make. Here's where it dies:

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 `/temp/curl-7.10.2/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/temp/curl-7.10.2/lib'
make: *** [all-recursive] Error 1
#

I downloaded and tried with the 7.10.3-pre6 package and got the same error.

Now, fast forward 12 hours and one complete reinstallation of the OS and
everything else...

I reinstalled and used the 7.10.3-pre6 package:

Ran ./configure --with-ssl and didn't see any errors.
Ran make and it made it all the way through.
Ran make install and that didn't choke either.

Moment of truth:

        bash-2.05# curl www.yahoo.com
        ld.so.1: curl: fatal: libssl.so.0.9.6: open failed: No such file or
directory
        Killed
        bash-2.05#

I checked and libssl.so.0.9.6 does indeed live in /usr/local/ssl/lib

Here's what curl-config tells me:

--ca = /usr/local/share/curl/curl-ca-bundle.crt
--cc = gcc
--cflags = (blank)
--libs
= -L/usr/local/lib -lcurl -L/usr/local/ssl/lib -lz -lssl -lcrypto -ldl -lsoc
ket -lnsl -lz
--prefix = /usr/local

Back to square one. Grrrrrrrr...

Any of this help?

Thanks again!

- Greg

----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "Curl Mailinglist" <curl-users_at_lists.sourceforge.net>
Sent: Monday, January 13, 2003 2:29 AM
Subject: Re: "RE: Problems compiling cURL 7.10.1 on Solaris 9."

> On Sun, 12 Jan 2003, Gregory Noe wrote:
>
> > Hi, I'm suffering the same problem, I think it compiles fine, but barfs
> > when it tries to make the links... Did you or anyone else come up with
a
> > fix/workaround? I've spent days trying to figure this out. I'm still a
> > newbie to unix/solaris (please, be gentle ;-) ), so any pointers would
be
> > much appreciated! If it helps, here's what I'm running: Solaris 9 64bit
on
> > an Ultraspac II, gcc-3.2 , binutils-2.11.2, libgcc-3.2, openssl-0.9.6g.
> > All packages from Sunfreeware.
>
> I have no answer or solution to your problems.
>
> I just now unpacked the 7.10.3-pre6 package freshly on my Solaris 2.7 box,
> compiled, built and installled it.
>
> It worked just fine.
>
> What do you mean with "barfs when it tries to make the links" ? What
command
> line is that? What did you enter to make it do that?
>
> --
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
>
>

-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
Received on 2003-01-14