[Opendnssec-develop] Re: [OpenDNSSEC] #254: Configure fails on RHEL6

OpenDNSSEC owner-dnssec-trac at kirei.se
Thu Aug 11 08:03:53 UTC 2011


#254: Configure fails on RHEL6
------------------------------------+---------------------------------------
Reporter:  vanrein                  |        Owner:  rb     
    Type:  defect                   |       Status:  new    
Priority:  major                    |    Component:  Unknown
 Version:  1.3.0                    |   Resolution:         
Keywords:  configure libldns rhel6  |  
------------------------------------+---------------------------------------

Comment (by rb):

 > >  Is the problem that you get double "-lldns" in $LIBS?
 >
 > No, it does not include the -L/usr/lib64 that it did mention
 > as containing the library.

 [[BR]]But it does according to your config.log below:
 [[BR]][[BR]]

 > {{{
 > configure:14606: checking what are the ldns libs
 > configure:14609: result:   -L/usr/lib64/python2.6 -L/usr/lib64
 -lpython2.6
 > -L/usr/lib64   -lcrypto -lldns
 > configure:14631: checking for ldns_rr_new in -lldns
 > configure:14656: gcc -o conftest -g -O2 -pedantic -Wall -Wextra
 -I/usr/include
 > conftest.c -lldns     -L/usr/lib64/python2.6 -L/usr/lib64 -lpython2.6
 > -L/usr/lib64   -lcrypto -lldns >&5
 > /usr/bin/ld: cannot find -lpython2.6
 > collect2: ld returned 1 exit status
 > configure:14656: $? = 1
 > configure: failed program was:
 > | /* confdefs.h */
 > }}}
 >
 >
 > I'd looked at it before, but this time found a notice I hadn't seen
 > before -- the missing python-devel package.  After installing that,

 [[BR]]That is strange, python should not be a dependency of OpenDNSSEC.
 The question is where the python part comes from? What do you get from
 ldns-config? I get:

 {{{
 rickard at fou:~$ ldns-config --cflags
 -I/usr/local/include
 rickard at fou:~$ ldns-config --libs
    -L/usr/local/lib   -lcrypto -lldns
 }}}

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/254#comment:6>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list