Skip to content
Prev 2787 / 3656 Next

Binding with libiconv failed while compiling R-devel on Ubuntu 17.04

Thanks for helping.

The story so far: I have been using R-devel for about one year, and installed it with the same protocol.  Last time I compiled it, it was about 2 months ago, with no problem.
I had not problems with packages and BioConductor working like a charm too.

Now, where I am currently stuck is the linking part:
===
 	gcc -Wl,--export-dynamic -fopenmp  -L"../../lib" -L/usr/local/lib -o R.bin Rmain.o  -lR -lRblas
 	../../lib/libR.so: undefined reference to `u_versionToString_54'
 	../../lib/libR.so: undefined reference to `u_getVersion_54'
 	../../lib/libR.so: undefined reference to `ucol_open_54'
 	../../lib/libR.so: undefined reference to `ucol_setStrength_54'
 	../../lib/libR.so: undefined reference to `libiconv'
 	../../lib/libR.so: undefined reference to `libiconv_close'
 	../../lib/libR.so: undefined reference to `ucol_strcollIter_54'
 	../../lib/libR.so: undefined reference to `_libiconv_version'
 	../../lib/libR.so: undefined reference to `libiconv_open'
 	../../lib/libR.so: undefined reference to `ucol_close_54'
 	../../lib/libR.so: undefined reference to `ucol_setAttribute_54'
 	../../lib/libR.so: undefined reference to `uloc_setDefault_54'
 	../../lib/libR.so: undefined reference to `ucol_getLocaleByType_54'
 	../../lib/libR.so: undefined reference to `uiter_setUTF8_54'
===
The full trace is https://pastebin.com/7Pyn4Bwv

The configuration trace is https://pastebin.com/j1DR3WLM

I can provide any info you will consider useful.

Thanks again,

Matthias.
On Tue, 24 Oct 2017, Dirk Eddelbuettel wrote: