[Rd] Installation using iconv from glibc

Smith, Virgil Virgil.Smith at flir.com
Fri May 15 02:19:10 CEST 2015

The R Installation and Administration manual section A.1 states that glibc should provide a suitable iconv function, but I can't get R's configure script to accept/validate iconv on a Linux platform I need to support using glibc 2.20.

Is glibc is actually compatible (and/or is gnu libiconv essentially the only path)?

If glibc should work, what should I check to troubleshoot my environment?

The configure error I get is
    checking iconv.h usability... yes
    checking iconv.h presence... yes
    checking for iconv.h... yes
    checking for iconv... yes
    checking whether iconv accepts "UTF-8", "latin1", "ASCII" and "UCS-*"... no
    configure: error: a suitable iconv is essential

My full list of installed glibc / libc packages is
    glibc-binary-localedata-en-gb - 2.20-r0
    glibc-binary-localedata-en-us - 2.20-r0
    glibc-gconv - 2.20-r0
    glibc-gconv-utf-16 - 2.20-r0
    glibc-locale-en-gb - 2.20-r0
    libc6 - 2.20-r0
    libc6-dev - 2.20-r0
    libc6-extra-nss - 2.20-r0
    libc6-thread-db - 2.20-r0

This is for a custom Linux build, not a major distro, so unfortunately I cannot use pre-packaged configurations.


Notice to recipient: This email is meant for only the intended recipient of the transmission, and may be a communication privileged by law, subject to export control restrictions or that otherwise contains proprietary information. If you receive this email by mistake, please notify us immediately by replying to this message and then destroy it and do not review, disclose, copy or distribute it. Thank you in advance for your cooperation.

More information about the R-devel mailing list