Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 566
    • Issues 566
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 94
    • Merge requests 94
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2402
Closed
Open
Issue created Jan 21, 2021 by Greg Rabil@agrabil

BIND 9.16.11 build fails with static OpenSSL library

Building BIND 9.16.11 with a static version of OpenSSL fails. This worked previously with BIND 9.16.10. The problem appears to be due to the ordering of SSL libraries in several of the Makefiles. For example, this line in the 'lib/samples/Makefile':

OPENSSL_LIBS = -L/opt/work6/tmp/openssl/lib -lcrypto -lssl

In BIND 9.16.10, this line read:

OPENSSL_LIBS = -L/opt/incontrol/dns/openssl/lib -lcrypto

The addition of '-lssl' must be before '-lcrypto'. However, setting OPENSSL_LIBS environment variable prior to running configure does not solve the problem because OPENSSL_LIBS does not appear to be honored for this setting.

Please find the attached config and build logs.

bind-9.16.11-with-static-openssl-build.log

bind-9.16.11-with-static-openssl-config.log

Assignee
Assign to
Time tracking