Skip to content

Compilation against openssl 3.0.0 beta2 is failing to build unbound #515

@satya-rajesh

Description

@satya-rajesh

Unbound when compiled against openssl beta2, it is failing to compile.
https://github.com/openssl/openssl/releases/tag/openssl-3.0.0-beta2

To reproduce
Steps to reproduce the behavior:

  1. Use openssl 3.0.0 beta2 from https://github.com/openssl/openssl/releases/tag/openssl-3.0.0-beta2
  2. Compile unbound

Expected behavior
The build should succeed

System:

  • Unbound version: 1.12.0
  • OS: photon

Error:
smallapp/unbound-control.c: In function 'ssl_path_err':
smallapp/unbound-control.c:490:4: warning: implicit declaration of function 'ERR_GET_FUNC'; did you mean 'ERR_GET_LIB'? [-Wimplicit-function-declaration]
490 | (ERR_GET_FUNC(err) == SYS_F_FOPEN ||
| ^~~~~~~~~~~~
| ERR_GET_LIB

/bin/ld: .libs/unbound-control.o: in function ssl_path_err': /usr/src/photon/BUILD/unbound-1.12.0/smallapp/unbound-control.c:490: undefined reference to ERR_GET_FUNC'
/bin/ld: /usr/src/photon/BUILD/unbound-1.12.0/smallapp/unbound-control.c:491: undefined reference to `ERR_GET_FUNC'
collect2: error: ld returned 1 exit status
make: *** [Makefile:355: unbound-control] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions