[Opendnssec-develop] Re: [Opendnssec-otr] softhsm

John Dickinson jad at sinodun.com
Tue Oct 11 12:28:03 UTC 2011


Moved to the correct list…

This occurs (I think) because sqllite drags a -L/usr/local/lib along with it (regardless of where the sqlite lib actually is) and

In the src Makefile.am 

libsofthsm_la_LIBADD= @BOTAN_LIBS@ @SQLITE3_LIBS@

where as in the softhsm Makefile.am you have

softhsm_LDADD = @SQLITE3_LIBS@ @BOTAN_LIBS@

I think at the very least we should make the order the same, or improve the m4 file for sqlite. I would like a second opinion before making any change.

John
On 11 Oct 2011, at 12:27, John Dickinson wrote:

> Hi,
> 
> On redhat the softhsm binary seems to link to a different version of the botan library than libsofhsm.
> 
> 
> [jenkins at redhat1 bin]$ ldd /opt/jenkins/workspace/root/trunk/bin/softhsm
> 	linux-vdso.so.1 =>  (0x00007fff40bc0000)
> 	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x0000003b5be00000)
> 	libbotan-1.8.2.so => not found
> 	librt.so.1 => /lib64/librt.so.1 (0x0000003b5c200000)
> 	libdl.so.2 => /lib64/libdl.so.2 (0x0000003b5ae00000)
> 	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003b5f200000)
> 	libm.so.6 => /lib64/libm.so.6 (0x0000003b5ba00000)
> 	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003b5ce00000)
> 	libc.so.6 => /lib64/libc.so.6 (0x0000003b5b200000)
> 	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b5b600000)
> 	/lib64/ld-linux-x86-64.so.2 (0x0000003b5aa00000)
> [jenkins at redhat1 bin]$ ldd /opt/jenkins/workspace/root/trunk/lib/libsofthsm.so 
> 	linux-vdso.so.1 =>  (0x00007fff2b310000)
> 	libbotan-1.8.13.so => not found
> 	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f28469a3000)
> 	librt.so.1 => /lib64/librt.so.1 (0x00007f284679b000)
> 	libdl.so.2 => /lib64/libdl.so.2 (0x00007f2846597000)
> 	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f2846290000)
> 	libm.so.6 => /lib64/libm.so.6 (0x00007f284600c000)
> 	libc.so.6 => /lib64/libc.so.6 (0x00007f2845c7d000)
> 	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2845a66000)
> 	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f284584a000)
> 	/lib64/ld-linux-x86-64.so.2 (0x0000003b5aa00000)
> 
> 
> The softhsm build can be found here 
> 
> https://jenkins.opendnssec.org/job/Build_SoftHSM_trunk/label=redhat1/36/console
> 
> Any ideas? (I know removing one of the two botans would be good but I do not have root access to this server.
> John
> ---
> jad at sinodun.com
> Sinodun Internet Technologies Ltd.
> Stables 4, Suite 11,
> Howbery Park,
> Wallingford,
> Oxfordshire,
> OX10 8BA,
> U.K.
> 
> +44 (0)1491 834957
> 
> _______________________________________________
> Opendnssec-otr mailing list
> Opendnssec-otr at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-otr

---
jad at sinodun.com
Sinodun Internet Technologies Ltd.
Stables 4, Suite 11,
Howbery Park,
Wallingford,
Oxfordshire,
OX10 8BA,
U.K.

+44 (0)1491 834957




More information about the Opendnssec-develop mailing list