-
Notifications
You must be signed in to change notification settings - Fork 37
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
LoadError: Provider BinDeps.PackageManager failed to satisfy dependency libwand while building ImageMagick #75
Comments
EDIT: Moved this in from JuliaPackaging/Homebrew.jl#175 @hpoit Just FYI, you can use gist instead of google docs to share large pastes in a slightly more code-friendly format. :)
Yes, the third argument to I think I've managed to reproduce this locally. I'm looking into it real quick. |
@bjarthur what happens if you run the following? I now can get a segfault reliably within const libwand = Libdl.dlopen(Pkg.dir("Homebrew", "deps/usr/lib/libMagickWand-6.Q16.dylib"))
genesis = Libdl.dlsym(libwand, :MagickWandGenesis)
ccall(genesis, Void, ())
println("Genesis complete")
mqco = Libdl.dlsym(libwand, :MagickQueryConfigureOption)
p = ccall(mqco, Ptr{UInt8}, (Ptr{UInt8},), "LIB_VERSION_NUMBER")
println(p) |
So MagickWand contains a list of images. |
I think |
If you search "ccall((:MagickQueryConfigureOption, libwand)" on Google, you will find a heck of a lot of related issues. I am trying to find a successful ccall from which to base on, or maybe just a call straight in C. |
I have absolutely no experience in debugging... But there's always a first time! What would optimizations and debug symbols look like? Which |
I also want to understand what the two pointers are for in relation to the library version.
|
|
Joining the party over here...
|
From JuliaImages/Images.jl#363, I'm saving it for later. Just gathering intel right now. Thanks Ben, let me finish reading #7 and #363 and I'll come back to here. Ron hold on, let's fix this!!!! @SimonDanisch |
It's late, more tomorrow. |
For those getting these crashes, do other functions work if you comment out any lines dealing with version information? |
They do for me, on macOS: https://gist.github.com/hpoit/7ba683a31e2fc056c1fd72943d1f8c25 |
This might lead us somewhere. There might be undefined or missing references to |
Tim do you know why there is a major, minor, and micro version of MagickWand? |
Found what works for me. Pkg.build("ImageMagick") still doesn't work, but my Julia notebook does, so that's good enough for me. Thanks you all. |
Let's keep this open, since obviously the current situation cost you a lot of wasted time and would be good to fix.
That's semver numbering, presumably. |
You're right Tim, the issue hasn't been solved for this package. The solution to it is probably in the last link I posted of ImageMagick for macOS, or there's something wrong with Images, BinDeps, or even ccall.
… On Feb 16, 2017, at 19:48, Tim Holy ***@***.***> wrote:
Reopened #75.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Presumably closed by #90. Feel free to reopen or comment if not. |
This is the continuation of #175, sorry, it should've been opened here in the first place. @bjarthur @staticfloat @timholy
The text was updated successfully, but these errors were encountered: