Re: [arch-general] Executing a command of a chroot outside of the chroot

2012-12-08 Thread Rodrigo Rivas
On Sat, Dec 8, 2012 at 12:16 AM, Guus Snijders gsnijd...@gmail.com wrote: Op 7 dec. 2012 23:46 schreef Δημήτρης Ζέρβας 01tto...@gmail.com het volgende: I think that linking won't solve my problem as I include /data/workbench/mnt/lib in my $LD_LIBRARY_PATH... In that case; isn't it

Re: [arch-general] Executing a command of a chroot outside of the chroot

2012-12-07 Thread Rodrigo Rivas
On Fri, Dec 7, 2012 at 7:03 AM, Δημήτρης Ζέρβας 01tto...@gmail.com wrote: the main system is android and the chroot is Arch linux, so I have no ldd nor readelf... But the dynamic loader must exist... you can invoke it manually if only you know the name. You can get the name of the

Re: [arch-general] Executing a command of a chroot outside of the chroot

2012-12-07 Thread Guus Snijders
Op 7 dec. 2012 23:46 schreef Δημήτρης Ζέρβας 01tto...@gmail.com het volgende: I think that linking won't solve my problem as I include /data/workbench/mnt/lib in my $LD_LIBRARY_PATH... In that case; isn't it enough to include /data/workbench/mnt/lib as the first item in $LD_LIBRARY_PATH ? I

Re: [arch-general] Executing a command of a chroot outside of the chroot

2012-12-06 Thread Martin Panter
On 6 December 2012 15:07, Δημήτρης Ζέρβας 01tto...@gmail.com wrote: I have a chroot environment on /data/workbench/mnt and I want to execute a binary which is inside the chroot environment (for example /data/workbench/mnt/bin/bash). I added the chroot library path to $LD_LIBRARY_PATH and I

Re: [arch-general] Executing a command of a chroot outside of the chroot

2012-12-06 Thread Δημήτρης Ζέρβας
the main system is android and the chroot is Arch linux, so I have no ldd nor readelf...