[tor-bugs] #6936 [Tor Client]: why link to librt and libdl?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Sep 22 08:35:10 UTC 2012


#6936: why link to librt and libdl?
------------------------+---------------------------------------------------
 Reporter:  weasel      |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:                    
Component:  Tor Client  |        Version:  Tor: 0.2.4.2-alpha
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 According to dpkg-shlibdeps, the three binaries in tor, tor-resolve, tor-
 gencert, and tor, link to libdl.so.2 and librt.so.1. without using any of
 their symbols.

 {{{
 dpkg-shlibdeps: warning: dependency on libdl.so.2 could be avoided if
 "debian/tor/usr/bin/tor-resolve debian/tor/usr/sbin/tor debian/tor/usr/bin
 /tor-gencert" were not uselessly linked against it (they use none of its
 symbols).
 dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if
 "debian/tor/usr/bin/tor-resolve debian/tor/usr/sbin/tor debian/tor/usr/bin
 /tor-gencert" were not uselessly linked against it (they use none of its
 symbols).
 }}}


 Why do we link against them?  Should we?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6936>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list