-
Notifications
You must be signed in to change notification settings - Fork 4
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
On macos, depqbf gives a Dl error #4
Conversation
3b818dc
to
637a560
Compare
Is it specific to clang? gcc seems to fail (see travis build). edit: ah, I see that some commits address this. I'll wait for CI, thanks for the contribution anyway! |
The
I am still struggling with the installation of |
Do you think this is ready to merge? The failures on travis seem to be due to problems with installing depqbf… |
Hi!
I am kind of stuck with depqbf installation on Linux; I must have the PIC
version of libqbpll.a (which is not really easy to do with the makefile
coming with Depqbf).
I'll give one more asap. For now, the PR can be closed or put in stale mode.
Have a nice end of weekend!!
|
WARNING: I had to put an absolute path to libqdpll.a!
a95fd48
to
75bfb2c
Compare
would this still make sense? |
It doesn’t make sense anymore since the new dune config does not allow us to build with depqbf 😅 I’ll close it for now |
Dear Simon,
Yesterday, I tried to use DepQBF because Quantor is unable to give a value for some outer-scope existential variables.
I installed depqbf using
opam install depqbf
(macos). But when runningmake test
:After some (extensive) search, I found the issue yallop/ocaml-ctypes#41 talking about this specific problem. Apparently, even though the static
libqdpll.a
is the one selected (I double checked by removing the dynamic library), the symbol is not imported in the final binary (same error for byte or native).To work around this problem, I have changed in
_oasis
(in the qbf-depqbf section)to
This solves the problem and
make test
works on both ubuntu and macos (provided that libffi-dev is installed on ubuntu and libffi installed on macos using brew).Side note: I also added some comments in the README in order to debug the most common issues.