Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ERROR: Unable to install rJava package. /usr/bin/ld: cannot find -licuuc


View products that this article applies to.

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’

↑ Back to the top


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

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3103815
Revision : 1
Created on : 1/7/2017
Published on : 11/1/2015
Exists online : False
Views : 72