2.59.92: configured with openssl but it wants gnutls symbols
Despite thet I've configured glib-networking with:
Program gio-querymodules found: NO Message: gnutls support: false openssl support: true libproxy support: true GNOME proxy support: true
Build fails on linking with gnutls:
[tkloczko@domek glib-networking-2.59.92]$ /usr/bin/ninja -v -j1 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [1/1] gcc -o tls/tests/connection-gnutls 'tls/tests/72d989a@@connection-gnutls@exe/connection.c.o' 'tls/tests/72d989a@@connection-gnutls@exe/mock-interaction.c.o' -Wl,--no-undefined -Wl,--as-needed -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -Wl,--start-group /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--export-dynamic -pthread /usr/lib64/libgmodule-2.0.so -Wl,--end-group FAILED: tls/tests/connection-gnutls gcc -o tls/tests/connection-gnutls 'tls/tests/72d989a@@connection-gnutls@exe/connection.c.o' 'tls/tests/72d989a@@connection-gnutls@exe/mock-interaction.c.o' -Wl,--no-undefined -Wl,--as-needed -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -Wl,--start-group /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--export-dynamic -pthread /usr/lib64/libgmodule-2.0.so -Wl,--end-group /usr/bin/ld: /usr/bin/ld: DWARF error: offset (1510605649) greater than or equal to .debug_str size (3741) /usr/bin/ld: DWARF error: offset (156369161) greater than or equal to .debug_str size (3741) /usr/bin/ld: DWARF error: offset (14827523) greater than or equal to .debug_str size (3741) /usr/bin/ld: DWARF error: could not find abbrev number 7660 /tmp/connection-gnutls.FgmQmq.ltrans0.ltrans.o: in function `client_can_receive_certificate_required_errors.isra.0': <artificial>:(.text+0x2bf): undefined reference to `gnutls_priority_init' /usr/bin/ld: <artificial>:(.text+0x2d2): undefined reference to `gnutls_priority_protocol_list' /usr/bin/ld: <artificial>:(.text+0x324): undefined reference to `gnutls_priority_deinit' /usr/bin/ld: /tmp/connection-gnutls.FgmQmq.ltrans0.ltrans.o: in function `check_gnutls_has_rehandshaking_bug': <artificial>:(.text+0xe67): undefined reference to `gnutls_check_version' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.