curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: rpmbuild of curl/libcurl 7.63.0 fails on Mageia Linux v7 x86-64 due to make test link problem

From: Isaac Boukris via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 1 Jan 2019 20:17:44 +0200

On Tue, Jan 1, 2019 at 2:18 PM Paul Howarth via curl-library
<curl-library_at_cool.haxx.se> wrote:
>
> On Tue, 1 Jan 2019 11:28:55 +0200
> Shlomi Fish via curl-library <curl-library_at_cool.haxx.se> wrote:
> > CCLD libstubgss.la
> > /usr/bin/ld: .libs/libstubgss_la-stub_gssapi.o: in function
> > `gss_init_sec_context': /home/shlomif/Download/unpack/Mageia/todel/curl/BUILD/curl-7.63.0/tests/libtest/stub_gssapi.c:210:
> > undefined reference to `curl_msnprintf' collect2: error: ld returned
> > 1 exit status make[2]: *** [Makefile:2166: libstubgss.la] Error 1
> > make[2]: Leaving directory
> >
> > How can it be fixed?
>
> Fix from Fedora:
> https://src.fedoraproject.org/rpms/curl/blob/c91c27bce90e913a6fdfd4cb42172496d0e264a8/f/0105-curl-7.63.0-libstubgss-ldadd.patch

Looks like this patch links libstubgss against libcurl which is a bit
counter intuitive since libcurl kind of depends on it. However, since
we build libcurl against the real gssapi libraries and only use
libstubgss in run time via ldpreload, I think it is fine.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-01