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?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×