当我在R中加载GenomicFeatures包时,会弹出一条错误消息:
Loading required package: IRanges
Error in dyn.load(file,DLLpath = DLLpath,...) :
unable to load shared object '/home/caohf/R/x86_64-unknown-linux-gnu-library/2.15/IRanges/libs/IRanges.so':
/lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/caohf/R/x86_64-unknown-linux-gnu-library/2.15/IRanges/libs/IRanges.so)
Error: package ‘IRanges’ could not be loaded
所以我想安装glibc2.7,源是从这个site下载的.
我将源配置为非root:
mkdir build
cd build
../configure --prefix=/home/cao/bin
屏幕上出现配置错误:
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs… sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install… /usr/bin/install -c
checking whether ln -s works… yes
checking for gcc… gcc
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking for ranlib… ranlib
checking whether /usr/libexec/binutils220/as is GNU as… yes
checking whether ld is GNU ld… yes
checking for /usr/libexec/binutils220/as… /usr/libexec/binutils220/as
checking version of /usr/libexec/binutils220/as… 2.20.51.0.2,bad
checking for ld… ld
checking version of ld… 2.17.50.0.6,ok
checking for pwd… /bin/pwd
checking for gcc… gcc
checking version of gcc… 4.4.6,ok
checking for gnumake… no
checking for gmake… gmake checking version of gmake… 3.81,ok
checking for gnumsgfmt… no
checking for gmsgfmt… no
checking for msgfmt… msgfmt
checking version of msgfmt… 0.14.6,ok
checking for makeinfo… no
checking for sed… sed
checking version of sed… 4.1.5,ok
checking for autoconf… autoconf
checking whether autoconf works… yes
configure: error:
These critical programs are missing or too old: as
Check the INSTALL file for required versions.
以下是在INSTALL文件(和我的系统中的版本)中编译的推荐工具:
1 GNU使3.79或更新
我的系统:
GNU Make 3.81
2 GCC 3.4或更新版本,建议使用GCC 4.1
我的系统:
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
3 GNU binutils 2.15或更高版本
我不知道如何检查binutils的版本,但是
as -v
ld -v
GNU assembler version 2.17.50.0.6-12.el5 (x86_64-redhat-linux) using BFD version 2.17.50.0.6-12.el5 20061020
GNU ld version 2.17.50.0.6-12.el5 20061020
4 GNU texinfo 3.12f
我不是版本吗?需要帮忙
5 GNU awk 3.0或更高版本
我的系统:
GNU Awk 3.1.5
6 Perl 5
矿:
This is perl,v5.10.1 (*) built for x86_64-linux-thread-multi
7 GNU sed 3.02或更新版本
矿:
GNU sed version 4.1.5
8 GNU autoconf 2.53或更高版本
矿:
autoconf (GNU Autoconf) 2.59
9 GNU gettext 0.10.36或更高版本
矿:
gettext (GNU gettext-runtime) 0.14.6
我在 :
CentOS release 5.4 (Final)
Linux iodell-01 2.6.18-164.6.1.el5
我是否必须安装较新版本的glibc,恐怕系统的软件包对于较新版本来说太旧了.
我怎么能搞清楚?谢谢
我遇到过类似的问题.问题是在configure.in文件中使用正则表达式as,ld.
知道我有2.20肯定是> 2.15(按照INSTALL文件),我更新了正则表达式
[2.1[3-9]*]
我评论了版本检查as,ld.从技术上讲,我应该修复正则表达式但不幸的是这样的事情没有用
[2.20*]
因为我不想浪费太多时间,所以现在只是评论它并从配置文件中删除了检查.稍后将使用正确的正则表达式更新帖子.