cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] Correct linking for curl

From: Beber <beber_at_meleeweb.net>
Date: Fri, 24 Oct 2008 00:16:27 +0200

gwener 24 Here da 00:14:14, « Beber » a skriv :

> > And did you tell the location of this target openssl installation to
> > curl's configure script (--with-ssl=/usr/n270/usr) ?
>
> I've -L/usr/n270/usr/lib -L/usr/n270/lib in LDFLAGS
>
> > In you earlier mails it looked more like configure picked up your host
> > openssl installation, which would of course not link successfully with
> > files for another architecture.
>
> You're right, but it shouldn't.

And configure do the right things :

Part of configure.log

configure:26918: checking for SSL_connect in -lssl
configure:26953: i686-pc-linux-gnu-gcc -o conftest -I/usr/n270/include -I/usr/n270/usr/include -I/usr/n270/include -I/usr/n270/usr/include -L/usr/n270/lib -L/usr/n270/usr/lib conftest.c -lssl -lcrypto -lrt >&5

Would you like it complete ?

-- 
Beber

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2008-10-24