-
Notifications
You must be signed in to change notification settings - Fork 14
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
gnatprove alt-ergo fails on macOS #57
Comments
Hi @rod-chapman, can you try again with GNATprove FSF 13 that we released a few days ago? |
No joy... I get
|
I also made sure that DYLD_FALLBACK_LIBRARY_PATH was undefined before I did that. Oh... this is running Intel binaries on an Apple Silicon (ARM) MacBook Pro running macOS Ventura 13.5.2 |
I’ve only just had to resolve a similar problem myself. macOS dylibs are great until they behave like this. Fix by
The first command changes the search path for The second command adds to the run path: You may want to make a copy of |
On macOS Ventura...
If I install gnatprove with "alr get gnatprove", then set PATH so I can run "gnatprove" directly from a Shell, I find that alt-ergo does not run owing to not being able to find libgmp.10.dylib
e.g.
I find I have to set the environment variable DYLD_FALLBACK_LIBRARY_PATH=gnatprove_xxx/libexec/spark/lib
before this works properly.
It's very easy to miss this, since gnatprove still still seems to run OK and produces sub-standard proof results. This is very confusing for new users.
The text was updated successfully, but these errors were encountered: