-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Crystal Interpreter incorrect lib error: cannot find -lMagickWand-7.Q16HDRI #11857
Comments
That's correct.
I don't think any of the characters in the library name should be a problem. The printed args suggest that the loader understood the library name correctly. To make sure, you could add a If you provide some information on your system and how to install |
Interesting. This is helpful. I tried to run what you said and this is what I see:
But if I use If I add in the puts where you said,
I am just running on Ubuntu 21.10, I compiled the ImageMagick package using this repository https://github.com/ImageMagick/ImageMagick.git
If I do the above, It loads the library just fine. It seems to be something with the compiled version, after doing |
All right. I don't know what exactly that error means or what you can do to fix it. Maybe tweak the build configuration of the library? It might however add an item to our problems-with- |
Well, personally I am satisfied with uninstalling the compiled version here to resolve my issue. But I disagree that there is nothing actionable. It would have been much nicer if the error that was returned was an appropriate error message and not |
Yes, that's totally right of course. Sorry. |
It appears this error is only occurring with this library, however, it does not make any sense. Perhaps it has something to do with the
-
or the.
inMagickWand-7.Q16HDRI
?The code runs just fine using
crystal test.cr
butcrystal i test.cr
generates an error trace.shard.yml
I suspect that the linker arguments printed here are not the linker arguments that were actually used, however, I am not sure where to inspect that to verify
Error trace:
my /usr/local/lib folder:
The text was updated successfully, but these errors were encountered: