http://giig.ugr.es/~rgarcia/tsocks/tsocks-1.8.4.tar.bz2
If you're referring to this, I use it on FreeBSD. Although I can't find the patch at the moment so I am not completely sure this was the app that had the libdl issue... I think so. If so, just I simply edited out the -ldl bits from configure or the makefile and all was happy. Tinker with it, you shouldn't have any problems doing that.

