[問題] Porting with busybox shell

看板LinuxDev作者 (Life is random)時間17年前 (2008/06/21 20:39), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
我想用NFS將某個作業系統的root file system放在PC端,然後將板子開機, telnet login後,我的版子是有busybox,所以用busybox的chroot到NFS mount的 root file system,然後執行某個binary ex: ./hello 但是卻發生segmentation fault .(總之可以去執行) 如果沒有chroot, 直接cd 到那個file system然後./hello,卻會回 ash:./hello not found 這是位什麼呢?為何chroot以後就可以執行了? thx -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.31.104.112

06/21 21:38, , 1F
hello not found的話, 有可能是對應的.so share lib沒找到
06/21 21:38, 1F
文章代碼(AID): #18NFQ1cr (LinuxDev)
文章代碼(AID): #18NFQ1cr (LinuxDev)