-
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
VideoIO tests fail to find zlib1.2.9 when loading ImageMagick.jl on Travis #130
Comments
libz.so.1 - that looks a lot like JuliaLang/julia#22828 |
@vtjnash, can you give suggestions on the proper fix here, or point to some docs on the matter? Thanks! |
@vchuravy IIRC, you were working on changing our zlib version. Can you remind me, what was the end state of that? |
We removed ZLib as a dependency from Julia/LLVM. |
@vtjnash, @vchuravy, sorry I bothered you--this seems to be an issue how libpng is being built here. @SimonDanisch, In the deps directory, you're building zlib v1.2.11, but, the version of I think you need to update https://github.com/SimonDanisch/LibpngBuilder to build with the same version of zlib. Presumably, then, it will use the version installed in the same directory under ImageMagick ( |
Hm that's weird, since zlibbuilder has always just offered 1.2.11 as far as I can tell! |
Could it be that libpngbuilder isn't using the output of zlibbuilder, but is instead using, e.g., a system zlib? |
that's the output of the configure of libpngbuilder |
well, considering that travis tests run fine for imagemagick, could this be some problem introduced by ffmpeg in VideoIO? |
Interesting. If run ldd on
|
And if I make So, the problem is probably that the library search path isn't configured to find zlib in |
... any thoughts on how to fix that? |
(Moving this issue to BinaryBuilder) |
After exploring a bit more, it seems that the problem is likely related to JuliaPackaging/Requires.jl#52 . Thanks for the feedback here, and sorry for the noise! |
Okay, that doesn't seem to be it. :-( Will explore some more. |
Okay, I think I figured out the issue. |
Hm, I actually have the same issue with ImageMagick on ubuntu only in the Makie tests... ImageMagick alone passes tests. What's weird is, that it only happens if I actually run @staticfloat, @StefanKarpinski @KristofferC, any idea what could lead to this? Visual Regression: Error During Test at /home/s/.julia/packages/Makie/YPDAk/test/runtests.jl:110
Got exception outside of a @test
InitError: error compiling __init__: could not load library "/home/s/.julia/packages/ImageMagick/d5KBL/deps/usr/lib/libMagickWand-6.Q16.so"
/lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/s/.julia/packages/ImageMagick/d5KBL/deps/usr/lib/libpng16.so.16)
during initialization of module ImageMagick |
This just cropped up in JuliaImages/ImageView.jl#156. Can we build zlib statically into ImageMagick? |
the hack of importing ImageMagick before |
Should be fixed on Julia 1.3+ |
It might be that I need to install something else in Travis, but I'm wondering if anyone has any hints here? It worked fine when testing against v0.6.3.
See: See https://travis-ci.org/kmsquire/VideoIO.jl/jobs/418942394#L1206
The text was updated successfully, but these errors were encountered: