Compilation failed for XML package on R

I have a problem for several days. I am looking for an answer in the forums, but I have not found it. I want to install the XML package on bioconductor, so I wrote:

source("http://bioconductor.org/biocLite.R")
biocLite()
biocLite("XML")

And part of the answer is this:

/usr/bin/ld: cannot find -lltdl
collect2: ld a retourné 1 code d'état d'exécution 
make: *** [XML.so] Erreur 1
ERROR: compilation failed for package ‘XML’

And I do not understand why R. appears

I need the "XML" package for another package ("GenomicFeatures"). I cannot install "GenomicFeatures" without the "XML" package.

Any idea?

+3
source share
2 answers

Error message from the linker: cannot find -lltdl.

On my system, this library is provided by the libltdl-dev package . Other distributions will have a similar package.

sudo apt-get install r-cran-xml, .

0

CentOS 6, lltdl, libtool-ltdl-devel:

sudo yum install -y libtool-ltdl-devel
0

All Articles