R-2.11.1_1: reference to icu-4.6 not updated?

Giuseppe Pagnoni gpagnoni at gmail.com
Tue Jan 4 10:23:31 UTC 2011


Dear all,

I recently got an error trying to compile the port math/R-2.11.1_1 on a
FreeBSD 8.1-amd64 with a port tree up-to-date as of today.  This is the last
snippet of the build output with the error:


gcc45 -std=gnu99     -I../../src/extra   -I. -I../../src/include
-I../../src/include -I/usr/local/include -DHAVE_CONFIG_H  -fpic  -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -c Rmain.c -o Rmain.o
gcc45 -std=gnu99 -export-dynamic -L/usr/local/lib -o R.bin Rmain.o
-L../../lib -lR
/usr/local/bin/ld: warning: libicuuc.so.38, needed by
/usr/local/lib/libR.so, not found (try using -rpath or -rpath-link)
/usr/local/bin/ld: warning: libicui18n.so.38, needed by
/usr/local/lib/libR.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libR.so: undefined reference to `uiter_setUTF8_3_8'
/usr/local/lib/libR.so: undefined reference to `ucol_setStrength_3_8'
/usr/local/lib/libR.so: undefined reference to `ucol_setAttribute_3_8'
/usr/local/lib/libR.so: undefined reference to `ucol_strcollIter_3_8'
/usr/local/lib/libR.so: undefined reference to `ucol_close_3_8'
/usr/local/lib/libR.so: undefined reference to `uloc_setDefault_3_8'
/usr/local/lib/libR.so: undefined reference to `ucol_open_3_8'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.11.1/src/main.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.11.1/src/main.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.11.1/src.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.11.1.
*** Error code 1

Stop in /usr/ports/math/R.
*** Error code 1

Stop in /usr/ports/math/R.



It seems to me that the build specs for R haven't been updated to reflect
the latest version of icu (4.6, already installed on this system).  Is that
correct?  Does anybody know a quick fix for this (perhaps edit
/etc/libmap.conf ??  I heard though that this is not generally a good
idea...)

Thanks for any help or suggestion

very best

giuseppe

-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche
Sezione Fisiologia
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41125 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363



More information about the freebsd-ports-bugs mailing list