[sldev] Socksifying linux client via LD_PRELOAD

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Feb 16 13:34:44 PST 2007


On Fri, 2007-02-16 15:12:11 -0600, Brandon <dimentox at dimentox.com> wrote:
> > On Fri, 2007-02-16 14:46:36 -0600, Brandon <dimentox at dimentox.com> wrote:
> > > 29982: file=libproxychains.so; needed by
> > > bin/do-not-directly-run-secondlife-bin
> > > 29982: find library=libproxychains.so; searching
> > > 29982: search cache=/etc/ld.so.cache
> > > 29982: search
> > > path=/lib/tls/i686/mmx:/lib/tls/i686:/lib/tls/mmx:/lib/tls:/lib/i686/mmx:/lib/i686:/lib/mmx:/lib:/usr/lib/tls/i686/mmx:/usr/lib/tls/i686:/usr/lib/tls/mmx:/usr/lib/tls:/usr/lib/i686/mmx:/usr/lib/i686:/usr/lib/mmx:/usr/lib
> > > (system search path)
> > > 29982: trying file=/lib/tls/i686/mmx/libproxychains.so
> > > 29982: trying file=/lib/tls/i686/libproxychains.so
> > > 29982: trying file=/lib/tls/mmx/libproxychains.so
> > > 29982: trying file=/lib/tls/libproxychains.so
> > > 29982: trying file=/lib/i686/mmx/libproxychains.so
> > > 29982: trying file=/lib/i686/libproxychains.so
> > > 29982: trying file=/lib/mmx/libproxychains.so
> > > 29982: trying file=/lib/libproxychains.so
> > > 29982: trying file=/usr/lib/tls/i686/mmx/libproxychains.so
> > > 29982: trying file=/usr/lib/tls/i686/libproxychains.so
> > > 29982: trying file=/usr/lib/tls/mmx/libproxychains.so
> > > 29982: trying file=/usr/lib/tls/libproxychains.so
> > > 29982: trying file=/usr/lib/i686/mmx/libproxychains.so
> > > 29982: trying file=/usr/lib/i686/libproxychains.so
> > > 29982: trying file=/usr/lib/mmx/libproxychains.so
> > > 29982: trying file=/usr/lib/libproxychains.so
> > > 29982:
> > > bin/do-not-directly-run-secondlife-bin: error while loading shared
> > > libraries: libproxychains.so: cannot open shared object file: No such
> > > file
> > > or directory
> >
> > Where's your libproxychains.so located? Is it within the search path
> > that's printed above?  Maybe there's a shell script running that
> > fiddles with LD_LIBRARY_PATH incorrectly (eg. without keeping its
> > former contents).  Alternatively, you can try to force it with
> > LD_PRELOAD=/path/to/libproxychains.so (supplying the full path.)
> Yeah its in the path.. i also just did an export with the full path.. and
> even ran the binary directly with no scripts.. it works with GAIM binary
> and mozilla. the linker seems to go dumb when its trying preload for the
> SL binary.

You didn't actually answer all questions :)

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:             God put me on earth to accomplish a certain number of
the second  :            things. Right now I am so far behind I will never die.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070216/b2946a4e/attachment.pgp


More information about the SLDev mailing list