• linux缺库问题集


    问题1:ldd bin/i686-m64/ngram-count

     1     linux-vdso.so.1 (0x00007fffb1dd2000)
     2     liblbfgs-1.10.so => not found
     3     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f63dbf6e000)
     4     libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f63dbbe5000)
     5     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f63db847000)
     6     libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f63db618000)
     7     libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f63db400000)
     8     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f63db00f000)
     9     /lib64/ld-linux-x86-64.so.2 (0x00007f63dc4b7000)
    10     libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f63dae0b000)

    解决:

    step1:apt-cache search liblbfgs
    step2:apt-get install liblbfgs-dev
    step3:ln -fs /usr/lib/x86_64-linux-gnu/liblbfgs.so.0.1.10 /usr/lib/x86_64-linux-gnu/liblbfgs-1.10.so
    

      

  • 相关阅读:
    CodeForces 514B
    CodeForces 514A
    UVa 818
    HDU 1003
    UVa百题总结
    UVa 11526
    UVa 12412
    UVa 211
    UVa 1587
    UVa 225 – Golygons [DFS+剪枝]
  • 原文地址:https://www.cnblogs.com/tibetanmastiff/p/15098790.html
Copyright © 2020-2023  润新知