-
Notifications
You must be signed in to change notification settings - Fork 148
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
Installation on MacOS fails to find sqlite3 #223
Comments
Hi, I'm working on the CI setup and I was met with this error (https://github.com/ivanperez-keera/ikos/actions/runs/6757978476). I am confused about your statement. You say:
And in the code I see:
This is going to print the same string every time. Should the second line have been |
Installation on MacOS fails partly because a sqlite3-related assertion in one of the pre-installation checks does not hold on MacOS. More specifically, the assertion in question is whether the version numbers of sqlite3 in the string SQLITE_VERSION and the one returned by sqlite3_libversion are the same. This is a known issue with the sqlite3 library, and is external to IKOS. This commit adds a condition around that assertion so that it is not checked on MacOS.
@maxmunzel I just added a PR to partly address this issue (#235). Could you please check if by using this version of If you have issues finding Please let me know. I'll try to wait to merge until you have a chance to try it. |
Installation on MacOS fails partly because a sqlite3-related assertion in one of the pre-installation checks does not hold on MacOS. More specifically, the assertion in question is whether the version numbers of sqlite3 in the string SQLITE_VERSION and the one returned by sqlite3_libversion are the same. This is a known issue with the sqlite3 library, and is external to IKOS. This commit adds a condition around that assertion so that it is not checked on MacOS.
Hi Ivan, thanks for addressing the issue. You‘re right about the prints, no wonder I couldn’t find a difference. I’ll test the updated version tomorrow. Is there anything to do for testing it besides |
Installation on MacOS fails partly because a sqlite3-related assertion in one of the pre-installation checks does not hold on MacOS. More specifically, the assertion in question is whether the version numbers of sqlite3 in the string SQLITE_VERSION and the one returned by sqlite3_libversion are the same. This is a known issue with the sqlite3 library, and is external to IKOS. This commit adds a condition around that assertion so that it is not checked on MacOS.
Hey ikos-Team!
I got an error trying to install ikos via brew as recommended in the README:
The reason seems to be this assert failing:
ikos/cmake/FindSQLite3.cmake
Line 66 in 8608a78
I tweaked the formula (added "sqlite" as a dependency)...
I also disabled the check and added print-statements to the cmake...
Now it installs and the output suggests, that the assertion should have passed (maybe some invisible characters?).
FIND_PACKAGE_MESSAGE_DETAILS_SQLite3:INTERNAL=[/Library/Frameworks/Mono.framework/Headers][/usr/local/opt/sqlite/lib/libsqlite3.dylib][vlibversion: 3.42.0SQLITE3_VERSION: 3.42.0()]
(sorry for the bad formatting)Hope this helps fixing the installation, thank you for your work on this awesome tool!
The text was updated successfully, but these errors were encountered: