下面是运行augustus时的一个报错!
augustus: error while loading shared libraries: libboost_iostreams.so.1.60.0: cannot open shared object file: No such file or directory
这意味着系统不知道xxx.so放在哪个目录下,这个时候需要在/etc/ld.so.conf中加入xxx.so所在的目录。
首先查找存在的目录,结果如下:
[root@localhost 02_RNA_annotation]# find / -name libboost_iostreams.so.1.60.0
/home/spider/soft/miniconda3/pkgs/boost-1.60.0-py27_0/lib/libboost_iostreams.so.1.60.0
/home/spider/soft/miniconda3/pkgs/boost-1.60.0-py36_0/lib/libboost_iostreams.so.1.60.0
/home/spider/soft/miniconda3/envs/py27/lib/libboost_iostreams.so.1.60.0
/home/spider/soft/miniconda3/envs/mitozEnv/lib/libboost_iostreams.so.1.60.0
所以在/etc/ld.so.conf文件中加入一行/home/spider/soft/miniconda3/pkgs/boost-1.60.0-py36_0/lib即可。
一般而言,有很多so档会在/usr/local/lib这个目录下,所以在/etc/ld.so.conf中加入/usr/local/lib这一行,可以解决此问题。
最后将/etc/ld.so.conf存档后,还要执行/etc/ldconfig 来更新一下才会生效。
再次运行augustus:

网友评论