[sldev] Socksifying linux client via LD_PRELOAD

Brandon dimentox at dimentox.com
Fri Feb 16 13:46:36 PST 2007


I Supplied the full path...
its loceaded in /lib/
i from a shell did
export LD_PRELOAD=/lib/libproxychains.so
then ./bin/do-not-run

if i unset the LD_preload and do the /bin sl come sup

if i have LD_PRELOAD and run any other internet app it works fine.


> 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.
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/sldev
>




More information about the SLDev mailing list