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

Compilation error: cannot find -lipasircryptominisat5 #3

Open
19CMB94 opened this issue Aug 1, 2021 · 1 comment
Open

Compilation error: cannot find -lipasircryptominisat5 #3

19CMB94 opened this issue Aug 1, 2021 · 1 comment

Comments

@19CMB94
Copy link

19CMB94 commented Aug 1, 2021

When compiling pandaPIengine, I encountered the following issue (after Linking CXX executable pandaPIengine seemed to be successful):

/usr/bin/ld: cannot find -lipasircryptominisat5
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pandaPIengine.dir/build.make:221: pandaPIengine] Error 1
make[1]: *** [CMakeFiles/Makefile2:257: CMakeFiles/pandaPIengine.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

I tried to compile pandaPIengine with -DSAT=ON. The error occurred both on WSL and native Ubuntu.

My build configuration/environment was (on both systems):

  • 20.04.2
  • gcc version 9.3.0
  • make 4.2.1
  • cmake 3.16.3
  • gengetopt 2.23
@19CMB94
Copy link
Author

19CMB94 commented Sep 3, 2021

It seems that cryptominisat is not properly built during the build process. This is not an issue, if the shared library crpytominisat.so can already be found on the machine (typically under /lib or /urs/lib). If, however, one has no root access, what worked for me is to place the .so file at some directory /dir/subdir I have access to and add it temporary to the PATH via export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dir/subdir.

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