Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static linking issue #531

Open
Philip-NLnetLabs opened this issue Nov 5, 2022 · 0 comments
Open

Static linking issue #531

Philip-NLnetLabs opened this issue Nov 5, 2022 · 0 comments

Comments

@Philip-NLnetLabs
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant