2019-10-28 21:31:59 3392次浏览 1条回答 0 悬赏 10 金钱
cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
  • 回答于 2019-10-31 10:46 举报

    你这种 问题估计没人回答,什么错都没有

    4 条回复
    回复于 2019-11-04 14:37 回复

    编译时的错误就是这个..cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE..我也很迷茫,没人会遇见这种啊

    回复于 2019-11-05 10:23 回复

    运行下面的命令

    rpm -q jsoncpp
    ldd /usr/bin/cmake

    回复于 2019-11-05 10:23 回复

    $ rpm -q jsoncpp
    jsoncpp-0.10.5-1.el7.x86_64

    $ ldd /usr/bin/cmake

    linux-vdso.so.1 (0x00007ffd5b3a1000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007ff88badd000)
    libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff88b8b3000)
    libz.so.1 => /lib64/libz.so.1 (0x00007ff88b69c000)
    libarchive.so.13 => /lib64/libarchive.so.13 (0x00007ff88b3f7000)
    libcurl.so.4 => /lib64/libcurl.so.4 (0x00007ff88b17d000)
    libjsoncpp.so.0 => /lib64/libjsoncpp.so.0 (0x00007ff88af45000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff88abc3000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ff88a8c1000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff88a6a9000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ff88a2e8000)
    /lib64/ld-linux-x86-64.so.2 (0x00005556dc3f5000)
    libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007ff889e88000)
    libacl.so.1 => /lib64/libacl.so.1 (0x00007ff889c7e000)
    libattr.so.1 => /lib64/libattr.so.1 (0x00007ff889a78000)
    liblzo2.so.2 => /lib64/liblzo2.so.2 (0x00007ff889856000)
    liblzma.so.5 => /lib64/liblzma.so.5 (0x00007ff88962f000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007ff88941f000)
    libxml2.so.2 => /lib64/libxml2.so.2 (0x00007ff8890b6000)
    libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007ff888e93000)
    libidn.so.11 => /lib64/libidn.so.11 (0x00007ff888c5f000)
    libssh2.so.1 => /lib64/libssh2.so.1 (0x00007ff888a33000)
    libssl3.so => /lib64/libssl3.so (0x00007ff8887e8000)
    libsmime3.so => /lib64/libsmime3.so (0x00007ff8885c1000)
    libnss3.so => /lib64/libnss3.so (0x00007ff888298000)
    libnssutil3.so => /lib64/libnssutil3.so (0x00007ff88806a000)
    libplds4.so => /lib64/libplds4.so (0x00007ff887e66000)
    libplc4.so => /lib64/libplc4.so (0x00007ff887c61000)
    libnspr4.so => /lib64/libnspr4.so (0x00007ff887a21000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff887804000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007ff8875b6000)
    libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007ff8872cd000)
    libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007ff88709b000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007ff886e97000)
    liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007ff886c87000)
    libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007ff886a35000)
    libssl.so.10 => /lib64/libssl.so.10 (0x00007ff8867c2000)
    librt.so.1 => /lib64/librt.so.1 (0x00007ff8865ba000)
    libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007ff8863aa000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff8861a6000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff885f8b000)
    libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007ff885d6d000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff885b4a000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007ff885913000)
    libpcre.so.1 => /lib64/libpcre.so.1 (0x00007ff8856a3000)
    libfreebl3.so => /lib64/libfreebl3.so (0x00007ff885423000)
    
    回复于 2019-11-05 16:29 回复

    好的谢谢啦,我试试看

您需要登录后才可以回答。登录 | 立即注册
星彩星彩星
助理

星彩星彩星 北京

注册时间:2018-05-23
最后登录:2021-05-24
在线时长:14小时3分
  • 粉丝0
  • 金钱15
  • 威望0
  • 积分155

热门问题