Skip to content

Static linking issue #531

@Philip-NLnetLabs

Description

@Philip-NLnetLabs

Statically linking getdns and unbound gives the following errors:
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_si ze_supported': (.text+0x0): multiple definition of secalgo_hash_create_sha384'; ../../getdns/l
ibgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:174: f
irst defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_si ze_supported': (.text+0x0): multiple definition of secalgo_hash_create_sha512'; ../../getdns/l
ibgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:179: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of secalgo_hash_update'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:184: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of secalgo_hash_final'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:191: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of secalgo_hash_delete'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:202: first defined here
/usr/bin/ld: wire2str.o (symbol from plugin): in function sldns_str_vprint': (.text+0x0): multiple definition of svcparamkey_strs'; ../../getdns/libgetdns.a(wire2str.c.o):/home/philip/src/getdns/src/gldns/wire2str.c:227: first defined here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions