-
Notifications
You must be signed in to change notification settings - Fork 96
Description
pdfium-render used to work for me with the version 0.8.26, but once updated to 0.8.28, I have the following error
thread 'main' panicked at /Users/shiy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pdfium-render-0.8.28/src/pdfium.rs:474:30:
called Result::unwrap() on an Err value: LoadLibraryError(DlSym { desc: "dlsym(0x6a7a6450, FPDFPageObj_GetIsActive): symbol not found" })
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
my libpdfium.dylib is the latest and downloaded from:
https://github.com/bblanchon/pdfium-binaries?tab=readme-ov-file
and the dylib has this symbol:
nm -gU ./libpdfium.dylib | grep FPDFPageObj_GetIsActive
00000000001095fc T _FPDFPageObj_GetIsActive
This symbol seems to be added by 0.8.28, but doesn't exist somehow in libpdfium? I'm on Mac arm64