LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   tsocks libtsocks.so cannot be preloaded (http://www.linuxquestions.org/questions/linux-networking-3/tsocks-libtsocks-so-cannot-be-preloaded-750626/)

secretlydead 08-27-2009 08:17 AM

tsocks libtsocks.so cannot be preloaded
 
I've got an ssh running and accepting connections like this:
ssh -ND 9896 user@proxy.ip

and i've installed tsocks. my /etc/tsocks.conf looks like this:
server = localhost
port = 9896
server_type = 5

when i try to run a php script from the command line like 'tsocks php /var/www/htm/something.php', i get:
Invalid pair type (port) specified on line 2 in configuration file, "port = 9896"
21:15:40 libtsocks(17881): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.

when i try to run 'tsocks skype', i get this:
ERROR: ld.so: object '/usr/lib64/libtsocks.so' from LD_PRELOAD cannot be preloaded: ignored.

any idea what the problem is and how to fix it?


All times are GMT -5. The time now is 06:59 PM.