BIND 10 #1201: On Ubuntu 11.04, if libbz2-dev is missing, configure stops with message that botan 1.8 is missing

BIND 10 Development do-not-reply at isc.org
Sun Aug 28 17:53:37 UTC 2011


#1201: On Ubuntu 11.04, if libbz2-dev is missing, configure stops with message
that botan 1.8 is missing
-------------------------------------+-------------------------------------
            Reporter:  cas           |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  major         |                       Status:  new
           Component:  build system  |                    Milestone:  New
           Sensitive:  0             |  Tasks
         Sub-Project:  DNS           |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 however botan 1.8 including headers might be installed. The config.log
 gives the hint:

 {{{
 configure:15785: result: yes
 configure:15785: checking botan/botan.h presence
 configure:15785: g++ -E -I/usr/include   conftest.cpp
 configure:15785: $? = 0
 configure:15785: result: yes
 configure:15785: checking for botan/botan.h
 configure:15785: result: yes
 configure:15813: g++ -o conftest -g -O2 -I/usr/include   -L/usr/lib
 -lbotan -lbz2 -lcrypto -lgmp -lpthread -lrt -lz  -R/usr/lib
 conftest.cpp  >&5
 g++: unrecognized option '-R/usr/lib'
 /usr/bin/ld: cannot find -lbz2
 collect2: ld returned 1 exit status
 configure:15813: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "bind10-devel"
 | #define PACKAGE_TARNAME "bind10-devel"
 | #define PACKAGE_VERSION "20110819"
 | #define PACKAGE_STRING "bind10-devel 20110819"
 | #define PACKAGE_BUGREPORT "bind10-dev at isc.org"
 | #define PACKAGE_URL ""
 }}}

 this helps, but might not be obvious to a DNS admin compiling BIND 10:
 {{{
 sudo apt-get install libbz2-dev
 }}}

 I'm not sure if this is an issue with BIND 10 configure, or with Ubuntu
 dependencies.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1201>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list