安装ROOT,最后出现 Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1", trying "fixed". Please fix your system so helvetica can be found, this font typically is in the rpm (or pkg equivalent) package XFree86-[75,100]dpi-fonts or fonts-xorg-[75,100]dpi. /usr/local/bin/root.exe: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory 关键的问题是libCore.so,利用命令 ldd /usr/local/bin/rootcint 来检查一下链接库的位置,得到 linux-vdso.so.1 => (0x00007fff8e7c0000) libCint.so => no libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1a2819d000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1a27f86000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1a27bc7000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1a279c3000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1a276c6000) /lib64/ld-linux-x86-64.so.2 (0x00007f1a28e3a000) 实际上make install成功之后,相关的库肯定是有的,只是没有被链接到。进到/usr/local/lib/root/里面,.so文件都是有的,只需要把他们复制到/lib/x86_64-linux-gnu里面, sudo cp /usr/local/lib/root/libCint.so /lib/x86_64-linux-gnu/libCint.so sudo cp /usr/local/lib/root/libCore.so /lib/x86_64-linux-gnu/libCore.so sudo cp /usr/local/lib/root/libRint.so /lib/x86_64-linux-gnu/libRint.so 这样就OK了,键入root即可。
再来解决Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1"的问题。