BIND 10 #1640: incomplete pc file for botan and wrong filename for botan-config

BIND 10 Development do-not-reply at isc.org
Fri Jan 27 21:16:32 UTC 2012


#1640: incomplete pc file for botan and wrong filename for botan-config
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  minor         |                       Status:  new
           Component:  build system  |                    Milestone:  New
           Sensitive:  0             |  Tasks
         Sub-Project:  Core          |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 My initial configure failure was from:

 {{{
 /usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
 `pthread_mutex_unlock'
 /usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
 `pthread_mutex_destroy'
 /usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
 `pthread_mutex_lock'
 /usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
 `pthread_mutex_init'
 }}}

 The installed tools:
 {{{
 $ botan-config-1.10 --libs
 -L/usr/local/lib -lbotan-1.10 -lbz2 -lcrypto -lgmp -lpthread -lz

 $ pkg-config --libs botan-1.10
 -L/usr/local/lib -lbotan-1.10
 }}}

 As you can see the filename for botan-config script is versioned and the
 PC data is incomplete.

 If --with-botan is set to a path it will run botan-config, but this one is
 versioned as part of file name. If with-botan is not set or is yes it will
 use pkg-config and as you can see above that is incomplete.

 I will make a branch for configure.ac hack -- but only helps if --with-
 botan is used with the path.

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


More information about the bind10-tickets mailing list