Linux ssh chroot jail 執行程式問題 - Linux

Table of Contents

我利用ubuntu 14.04架了一個 Server,並將ssh登入的使用者設定ssh chroot jail,因
為這台Server有使用R語言的運算需求,因此我將/usr/bin/R還有/usr/lib
/usr/local/lib都複製到jail的目錄裡。問題來了,當使用者登入執行之後,就會變成這
樣:
/usr/lib/R/bin/exec/R: error while loading shared libraries: libblas.so.3:
cannot open shared object file: No such file or directory
很明顯的,是抓不到shared library,但是這裡該如何處理呢?
徵求各位Linux高手們解答,謝謝!!

--

All Comments

Erin avatarErin2015-11-25
要在該 chroot 環境內執行 ldconfig 更新 library 的
Joseph avatarJoseph2015-11-28
我在chroot環境下執行ldconfig,ldconfig擁有者為root
設了SUID之後還是Permission denied