rootcint:加载共享库时出错:libCint.so(从Bioconductor安装XPS包)

时间:2014-07-17 20:43:36

标签: r shared-libraries root

我正在尝试从Bioconductor安装XPS包。这些是我的步骤:

#install libxpm library 
sudo apt-get install libxpm-dev 

~/downloads $ wget ftp://root.cern.ch/root/root_v5.34.19.source.tar.gz

~/downloads $ tar -zxvf root_v5.34.19.source.tar.gz

~/downloads $ cd root

~/downloads/root $ ./configure --prefix=/usr/local

~/downloads/root $ make

~/downloads/root $ sudo make install

#I am able to start root & quit root from any directory on my system
root (to start) 

.q (to quit)

但是,当我尝试在R:

中安装XPS包时
source("http://bioconductor.org/biocLite.R")

biocLite("xps", type="source")

我收到以下错误:

rootcint: error while loading shared libraries: libCint.so: cannot open shared object file: No such file or directory
make: *** [xpsDict.cxx] Error 127
ERROR: compilation failed for package ‘xps’

万一你想知道,我试图搜索libCint.so库:

我想在我实际下载ROOT的lib /文件夹中找到libCint.so库 但缺少libCint.rootmap文件:

~/downloads/root/lib $ ls
...
libASImage.rootmap
libASImage.so
libCintex.rootmap
libCintex.so
libCint.so #no .rootmap file
libcomplexDict.rootmap
libcomplexDict.so
...

/ usr / local / bin / rootcint

中缺少libCint.so
~ $ ldd /usr/local/bin/rootcint 
linux-vdso.so.1 =>  (0x00007fff069ff000)
libCint.so => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4720636000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f472041f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f472005f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f471fd63000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4720956000)

~ $ ldd /usr/local/bin/root
linux-vdso.so.1 =>  (0x00007fff3a1ff000)
libXpm.so.4 => /usr/lib/x86_64-linux-gnu/libXpm.so.4 (0x00007f33e8966000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f33e8631000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f33e8330000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f33e7f70000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f33e7d52000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f33e7b4d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f33e7851000)
/lib64/ld-linux-x86-64.so.2 (0x00007f33e8b97000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f33e763b000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f33e7437000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f33e7231000)

非常感谢任何帮助。谢谢!

1 个答案:

答案 0 :(得分:0)

您只需将~/downloads/root/lib/libCint.so复制到/lib/x86_64-linux-gnu,然后输入" root -help"。