[Tor-BSD] Having issues forcing Tor release 0.2.6.9 to build with update libssl.so.32.0 library

Seth list at sysfu.com
Sun Jun 14 22:29:27 EDT 2015


Just updated on OpenBSD 5.7 system to LibresSLL 2.2.0 and built latest  
release of Tor 0.2.6.9 against it with the following configure line:

# ./configure --disable-asciidoc --disable-gcc-hardening --sysconfdir=/etc  
--with-openssl-dir=/usr/local/lib

This has always worked in the past but for some reason the tor executable  
is linked to the older (2.1) version of LibreSSL libssl library  
'/usr/lib/libssl.so.32.0'.

It does however use the newer libcrypto library  
'/usr/local/lib/libcrypto.so.33.0'

$ ldd /usr/local/bin/tor
/usr/local/bin/tor:
         Start            End              Type Open Ref GrpRef Name
         00000f35b0000000 00000f35b062e000 exe  1    0   0       
/usr/local/bin/tor
         00000f38807a4000 00000f3880bb9000 rlib 0    1   0       
/usr/lib/libz.so.5.0
         00000f3897600000 00000f3897a28000 rlib 0    1   0       
/usr/lib/libm.so.9.0
         00000f3821b14000 00000f3821f20000 rlib 0    1   0       
/usr/lib/libevent.so.4.1
         00000f3864df5000 00000f3865254000 rlib 0    1   0       
/usr/lib/libssl.so.32.0
         00000f3875631000 00000f3875c01000 rlib 0    1   0       
/usr/local/lib/libcrypto.so.33.0
         00000f37b26f1000 00000f37b2b03000 rlib 0    2   0       
/usr/lib/libpthread.so.18.1
         00000f37ce42e000 00000f37ce91a000 rlib 0    1   0       
/usr/lib/libc.so.78.1
         00000f383d600000 00000f383d600000 rtld 0    1   0       
/usr/libexec/ld.so

$ ls -l /usr/local/lib/{libssl.*,libcrypt*}
-rw-r--r--  1 root  wheel  12694218 Jun 15 11:47 /usr/local/lib/libcrypto.a
-rw-r--r--  1 root  wheel       924 Jun 15 11:47  
/usr/local/lib/libcrypto.la
-rw-r--r--  1 root  wheel   6678699 Jun 15 11:47  
/usr/local/lib/libcrypto.so.33.0
-rw-r--r--  1 root  wheel   3118376 Jun 15 11:47 /usr/local/lib/libssl.a
-rw-r--r--  1 root  wheel       934 Jun 15 11:47 /usr/local/lib/libssl.la
-rw-r--r--  1 root  wheel   1576313 Jun 15 11:47  
/usr/local/lib/libssl.so.32.0

Any Tor devs care to shed some light on what's going on?


More information about the Tor-BSD mailing list