Hi,

I installed the math/R package recently, and it failed to run until I
added textproc/icu4c:

$ R
/usr/local/lib/R/bin/exec/R: can't load library 'libicuuc.so.5.0'
# pkg_add icu4c
icu4c-49.1.2p1: ok
$ R
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation for Statistical Computing
> mean(c(2,3,4))
[1] 3

I imagine adding textproc/icu4c to R's LIB_DEPENDS should fix it, but
I did not actually build the port to verify this.

Nonetheless,

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/R/Makefile,v
retrieving revision 1.50
diff -u -r1.50 Makefile
--- Makefile    1 Sep 2012 14:36:57 -0000       1.50
+++ Makefile    21 Sep 2012 06:38:57 -0000
@@ -60,7 +60,8 @@
                devel/glib2 \
                devel/pango \
                graphics/png \
-               graphics/tiff
+               graphics/tiff \
+               textproc/icu4c
 RUN_DEPENDS=   archivers/gtar \
                devel/xdg-utils
 
(Did I do that right?)

Thanks,
-- 
David Hoskin < [email protected] >

Reply via email to