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

Unavailable symbols in libwebp Wrapper #13

Open
stemann opened this issue Apr 23, 2024 · 0 comments
Open

Unavailable symbols in libwebp Wrapper #13

stemann opened this issue Apr 23, 2024 · 0 comments

Comments

@stemann
Copy link
Owner

stemann commented Apr 23, 2024

Some symbols are not available in the JLL binary (the shared object), which may cause errors when trying to call these:

julia> pic_pointer = Ptr{WebP.WebPPicture}()

julia> WebP.Wrapper.WebPPictureInit(pic_pointer)
ERROR: could not load symbol "WebPPictureInit":
/home/user/.julia/artifacts/b0dd47a5c6466709af32a1dfd76d973073ec07e6/lib/libwebp.so: undefined symbol: WebPPictureInit

This is likely due to the definitions being marked with WEBP_INLINE rather than WEBP_EXTERN, e.g. in https://github.com/webmproject/libwebp/blob/v1.4.0/src/webp/encode.h#L369-L378 , in a combination with the build script in https://github.com/JuliaPackaging/Yggdrasil/blob/master/L/libwebp/build_tarballs.jl

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