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

dylib path issue on macOS #1427

Open
sdingcn opened this issue Apr 4, 2024 · 0 comments
Open

dylib path issue on macOS #1427

sdingcn opened this issue Apr 4, 2024 · 0 comments

Comments

@sdingcn
Copy link

sdingcn commented Apr 4, 2024

Hello,

I used the command source ./build.sh on macOS (version 14.2.1 with Apple M1) to build SVF, but the built tools (e.g. wpa) produce "Library not loaded" errors. I tried both the stable version (SVF-2.9) and the cloned version (6ecf1a4) and both of them have this issue.

By looking into the binaries via otool I found a temporary solution: (for SVF-2.9) copying the files libSvfCore.dylib libSvfLLVM.dylib libz3.dylib into Release-build/lib; (for 6ecf1a4) copying the file libz3.dylib into Release-build/lib.

Is this extra copying step expected, or did I miss something in the build process (like a one-click option to automatically set up / copy all the dynamic libraries)?

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