sorry the code was working, I just forgot to carry out some libs to new chroot...
thread no more needed...