看板 Linux 關於我們 聯絡資訊
我利用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高手們解答,謝謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 103.226.213.197 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1448443110.A.36B.html
kenduest: 要在該 chroot 環境內執行 ldconfig 更新 library 的 11/25 18:51
hyunwoo003: 我在chroot環境下執行ldconfig,ldconfig擁有者為root 11/25 21:58
hyunwoo003: 設了SUID之後還是Permission denied 11/25 21:58