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:14:14 +0200

yaou 23 Here da 22:36:39, « Jochen Roderburg » a skriv :

> Zitat von Beber <beber_at_meleeweb.net>:
>
> > Ok, it's all right, and I have libssl in toolchain
> >
> > 397575 212 -rw-r--r-- 1 root root 216484 Oct 22 00:46
> > /usr/n270/usr/lib/nss/libssl.a
> > 262003 312 -r-xr-xr-x 1 root root 315444 Oct 21 23:20
> > /usr/n270/usr/lib/libssl.so.0.9.8
> > 262005 0 lrwxrwxrwx 1 root root 15 Oct 21 23:20
> > /usr/n270/usr/lib/libssl.so -> libssl.so.0.9.8
> > 262771 4 -rw-r--r-- 1 root root 255 Oct 21 23:20
> > /usr/n270/usr/lib/pkgconfig/libssl.pc
> > 275939 448 -rw-r--r-- 1 root root 458482 Oct 21 23:20
> > /usr/n270/usr/lib/libssl.a
> >
> > Same for lz, lcrypto. But as you can see, libtool don't call
> > i686-pc-linux-gnu-gcc with -lssl -lcrypt as Makefile don't have them too.
>
> 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.

-- 
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