i have openjdk and jRuby installed and running properly.
however when i run exactly same environment under chroot, i get:
error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
i can see the libs, they are in place.
played with setting PATH, JAVA_HOME and LD_LIBRARY_PATH to correct values.
did not help.
any clues?