On 10/29/20 10:33 AM, John Burrell via blfs-dev wrote:
Brotli has a -R parameter in each of its pkgconfig files and this
causes libsoup to fail:
[92/184] Linking target libsoup/libsoup-2.4.so.1.11.0
FAILED: libsoup/libsoup-2.4.so.1.11.0
,
,
,
bject-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libxml2.so
/usr/lib/libsqlite3.so /usr/lib/libpsl.so -R/usr/
lib /usr/lib/libbrotlidec.so /usr/lib/libz.so -Wl,--end-group
cc: error: unrecognized command-line option ‘-R’
Adding -Dbrotli=disabled \ to the configure allows it to compile.
The issue was reported here:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/11948
but the recommended changes obviously haven't occurred.
jb.
Hi John,
In the Brotli page in SVN, there is currently the following sed which
should fix this issue:
sed -i 's@-R..libdir.@@' scripts/*.pc.in
After reinstalling Brotli, you should be able to build libsoup with
brotli support properly.
- Doug
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page