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

dyld: Library not loaded problem on macOS and macport version of blitz #150

Open
billtau opened this issue Nov 22, 2019 · 0 comments
Open

Comments

@billtau
Copy link

billtau commented Nov 22, 2019

I have downloaded blitz++ 1.0.2 and build it for a macOS 10.12.6 Sierra. While I can successfully build it to a custom directory (/User/xxx/local), and compile codes using this lib, everytime I run my code, it gives the following error:

dyld: Library not loaded: @rpath/libblitz.0.dylib
Referenced from: /Users/xxx/tmp/cc/./run_test
Reason: image not found
Abort trap: 6

I built it to a custom directory using: cmake DCMAKE_INSTALL_PREFIX=custom-path .

After many googles, I have fixed this using:
export DYLD_LIBRARY_PATH=path/to/blitz

This extra step of solution, however, is not very elegant. It would nice if someone could fix this installation issue, so that users wouldn't need this extra export. I have build other packages and haven't experienced this kind of problem.

The second issue is the macport version of blitz is 0.10 or something. When compiling code using this version of blitz using gcc9, it gave lots of errors. So it would be very nice if the latest version of blitz can be ported to macport.

Finally, thank you very much for your efforts for modernizing blitz. I have always loved this library.

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