tsocks only intercepts network connections for 64bit programs on amd64
architecture. When running a 32bit program (in my case the citrix
terminal server connector, which is not available as a 64bit binary)
it fails as LD_PRELOAD only contains a 64bit library which is ignored
by the 32bit linker.
A possible workaround might be to provide both the 64bit and 32bit
version of the library. However I did not manage to do that. Instead I
now use a tsocks32 script to only set the 32bit library in LD_PRELOAD.
-- System Information:
Debian Release: 5.0.3
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.6.1.amd64-smp (SMP w/2 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages tsocks depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libc6-i386 2.7-18 GNU C Library: 32bit shared librar
tsocks recommends no packages.
tsocks suggests no packages.
-- debconf-show failed
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
If you have tsocks set LD_PRELOAD=libtsocks.so instead of
LD_PRELOAD=/usr/lib/libtsocks.so, then the dynamic linker will look in the
appropriate path for both architectures (/usr/lib or /usr/lib32). Then
it’s just a matter of providing both libraries.
Anders