Describe the bug
Whenever I try to compile unbound inside linux/386 platform Dockers container it fails. But it compiles fine on other platforms. I can't find any solution.
#0 285.2 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans7.ltrans.o: in function `tls_session_ticket_key_cb':
#0 285.2 /tmp/workdir/unbound/util/net_help.c:1550: undefined reference to `EVP_CIPHER_get_iv_length'
#0 285.3 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans17.ltrans.o: in function `secalgo_hash_final.constprop.0':
#0 285.3 /tmp/workdir/unbound/validator/val_secalgo.c:208: undefined reference to `EVP_MD_CTX_get0_md'
#0 285.3 /usr/bin/ld: /tmp/workdir/unbound/validator/val_secalgo.c:208: undefined reference to `EVP_MD_get_size'
#0 285.3 /usr/bin/ld: /tmp/workdir/unbound/validator/val_secalgo.c:213: undefined reference to `EVP_MD_CTX_get0_md'
#0 285.3 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans17.ltrans.o:/tmp/workdir/unbound/validator/val_secalgo.c:213: undefined reference to `EVP_MD_get_size'
#0 285.3 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans1.ltrans.o: in function `remote_control_callback':
#0 285.3 /tmp/workdir/unbound/daemon/remote.c:3345: undefined reference to `SSL_get1_peer_certificate'
#0 285.3 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans12.ltrans.o: in function `dtio_ssl_handshake':
#0 285.4 /tmp/workdir/unbound/dnstap/dtstream.c:1325: undefined reference to `SSL_get1_peer_certificate'
#0 285.4 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans12.ltrans.o:/tmp/workdir/unbound/dnstap/dtstream.c:1350: undefined reference to `SSL_get1_peer_certificate'
#0 285.4 /usr/bin/ld: /tmp/unbound.acbOZI.ltrans13.ltrans.o: in function `ssl_handshake.part.0':
#0 285.4 /tmp/workdir/unbound/util/netevent.c:1436: undefined reference to `SSL_get1_peer_certificate'
#0 285.4 /usr/bin/ld: /tmp/workdir/unbound/util/netevent.c:1466: undefined reference to `SSL_get1_peer_certificate'
#0 285.5 collect2: error: ld returned 1 exit status
#0 285.5 make: *** [Makefile:369: unbound] Error 1
Describe the bug Whenever I try to compile unbound inside
linux/386
platform Dockers container it fails. But it compiles fine on other platforms. I can't find any solution.To reproduce Steps to reproduce the behavior:
Expected behavior It should compile just like other platforms.
System:
Additional information The Dockerfile I'm using to compile: https://github.com/origamiofficial/docker-pihole-unbound/blob/main/latest/Dockerfile
Full Output unbound log.txt