Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

問題

在 RedHat Linux 環境中安裝 rJava 套件時,就會出現下列的錯誤訊息︰

/usr/bin/ld︰ 找不到-licuuc 
collect2: ld 傳回 1 的結束狀態
讓 [2]: * * * [libjri.so] 錯誤 1
讓 [2]: 離開目錄 ' / tmp/Rtmp13ZjLo/R.INSTALL200e61ae1/rJava/jri/src'
將 [1]: * * * [src/JRI.jar] 錯誤 2
將 [1]: 離開目錄 ' / tmp/Rtmp13ZjLo/R.INSTALL200e61ae1/rJava/jri'
讓: * * * [jri] 錯誤 2
套件 'rJava' 的錯誤︰ 編譯失敗

方案

此錯誤與 libicu 程式庫遺失有關。若要確認是否為您的環境中情況中,確認您是否有它安裝在電腦上執行下列命令,linux 主控台上︰

rpm -qa | grep -i libicu


應該顯示在輸出上的兩個封裝。如果至少有無此套件的存在,只是使用 yum 來進行安裝︰

yum install libicu yum install libicu-devel

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×