Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error:Linking CXX shared library libpinsec.so /usr/bin/ld: skipping incompatible #4

Open
APlus123 opened this issue Mar 8, 2018 · 0 comments

Comments

@APlus123
Copy link

APlus123 commented Mar 8, 2018

Hi,
@RobinDavid So sorry to trouble you, but how can I fix the CXX shared library compiling error?
Does BB-DSE only run perfectly on 32 bits OS system? Much appraciated to you!

  1. Below is the terminal log:
    dr0ic1er@ubuntu:~/BINSEC_env/binsec-0.1/pinsec/build$ make
    [ 100% ] Linking CXX shared library libpinsec.so
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libprotobuf.so when searching for -lprotobuf
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libprotobuf.a when searching for -lprotobuf
    /usr/bin/ld: skipping incompatible //usr/lib/libprotobuf.so when searching for -lprotobuf
    /usr/bin/ld: skipping incompatible //usr/lib/libprotobuf.a when searching for -lprotobuf
    /usr/bin/ld: cannot find -lprotobuf
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libjansson.so when searching for -ljansson
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libjansson.a when searching for -ljansson
    /usr/bin/ld: skipping incompatible //usr/lib/libjansson.so when searching for -ljansson
    /usr/bin/ld: skipping incompatible //usr/lib/libjansson.a when searching for -ljansson
    /usr/bin/ld: cannot find -ljansson
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libzmq.so when searching for -lzmq
    /usr/bin/ld: skipping incompatible //usr/lib/libzmq.so when searching for -lzmq
    /usr/bin/ld: cannot find -lzmq
    collect2: error: ld returned 1 exit status
    CMakeFiles/pinsec.dir/build.make:666: recipe for target 'libpinsec.so' failed
    make[2]: *** [libpinsec.so] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pinsec.dir/all' failed
    make[1]: *** [CMakeFiles/pinsec.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2

  2. Environment is:
    OS: Ubuntu 16.04.02 LTS 64-bits
    cmake version 3.5.1
    g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
    pin-2.14-71313-gcc.4.4.7-linux
    protobuf-2.6.1
    jansson-2.11
    ZeroMQ v4.0-8
    lzmq v0.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant