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

java.lang.UnsatisfiedLinkError: Unable to load library Native library not found problem, how to install these package on linux? #50

Open
wmxl opened this issue Dec 17, 2021 · 1 comment

Comments

@wmxl
Copy link

wmxl commented Dec 17, 2021

I meet the problem on the trouble shooting, but I don't know how to install the packages listed?

Missing native dependencies
If you get the following exception:

java.lang.UnsatisfiedLinkError: Unable to load library '/tmp/io.woo.htmltopdf/wkhtmltox/0.12.5/libwkhtmltox.so': Native library (tmp/io.woo.htmltopdf/wkhtmltox/0.12.5/libwkhtmltox.so) not found in resource path
Then that likely means that one of the native dependencies of wkhtmltopdf is not met. It might be worth checking that the following packages are installed:

libc6 (or glibc)
libx11
libxext
libxrender
libstdc++
libssl1.0
freetype
fontconfig


@wmxl wmxl changed the title java.lang.UnsatisfiedLinkError: Unable to load library Native library not found problem java.lang.UnsatisfiedLinkError: Unable to load library Native library not found problem, how to install these package on linux? Dec 17, 2021
@sixiwa
Copy link

sixiwa commented Sep 30, 2022

I also encountered that except that libssl1.0 could not be installed, everything else was installed, but an error was reported: Native library (tmp/io.woo.htmltopdf/wkhtmltox/0.12.5/libwkhtmltox.so) not found in resource path ([jar:file:/usr/local/java/dsk-datamonitor.jar!/BOOT-INF/classes!/, jar:file:/usr/local/java/dsk-datamonitor.jar!/BOOT-INF/lib/java-jwt-3.18.3.jar!/

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

2 participants