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.

Problem

The following error message appears when installing the rJava package in a RedHat Linux environment:

/usr/bin/ld: cannot find -licuuc 
collect2: ld returned 1 exit status 
make[2]: *** [libjri.so] Error 1 
make[2]: Leaving directory `/tmp/Rtmp13ZjLo/R.INSTALL200e61ae1/rJava/jri/src' 
make[1]: *** [src/JRI.jar] Error 2 
make[1]: Leaving directory `/tmp/Rtmp13ZjLo/R.INSTALL200e61ae1/rJava/jri' 
make: *** [jri] Error 2 
ERROR: compilation failed for package ‘rJava’

Solution

This error pertains to the libicu library missing. To verify if this is the case in your environment, check if you have it installed on your machine by doing the following command on the linux console:

rpm -qa | grep -i libicu


There should be two package showing on the output. If one or none of this packages are present, just use yum to install it:

yum install libicu yum install libicu-devel

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

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!

×