curl-users
Re: [PATCH] Correct linking for curl
Date: Fri, 24 Oct 2008 09:45:03 +0200
Zitat von Beber <beber_at_meleeweb.net>:
> 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
Unfortunately this does not work so simple and straightforward as you
think. This test may be working ok, but the parameters in the final
link command for curl come out different. Believe me, it works better
when you give the --with-ssl=/usr/n270/usr as parameter to the
configure call.
Best regards,
Jochen Roderburg
ZAIK/RRZK
University of Cologne
Robert-Koch-Str. 10 Tel.: +49-221/478-7024
D-50931 Koeln E-Mail: Roderburg_at_Uni-Koeln.DE
Germany
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------------------
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