Not working in Alpine Linux or julia musl.
abcfy2 opened this issue · 3 comments
abcfy2 commented
Hi there.
I use this in Alpine Linux, but I got this error:
julia> parsehtml("<h1> Hello, world! </h1>")
ERROR: could not load library "libgumbo.so.1"
Error loading shared library libgumbo.so.1: No such file or directory
Stacktrace:
[1] parsehtml(input::String; strict::Bool, preserve_whitespace::Bool)
@ Gumbo ~/.julia/packages/Gumbo/aBmWO/src/conversion.jl:4
[2] parsehtml(input::String)
@ Gumbo ~/.julia/packages/Gumbo/aBmWO/src/conversion.jl:4
[3] top-level scope
@ REPL[7]:1
julia>
What's wrong ? How could I use it in Alpine Linux?
aviks commented
We do build Gumbo binaries for musl as you can see here: https://github.com/JuliaBinaryWrappers/Gumbo_jll.jl/blob/master/Artifacts.toml
So I'm not really sure what could be wrong here.
aviks commented
Thanks to the Yggdrasil maintainers, the fix is in JuliaPackaging/Yggdrasil#3929 . Once the package is registered this should be fixed.
abcfy2 commented
Great. It's working now. Thank you.