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

libtiff.so not loaded from jar #140

Open
pclewis opened this issue Sep 8, 2022 · 1 comment
Open

libtiff.so not loaded from jar #140

pclewis opened this issue Sep 8, 2022 · 1 comment

Comments

@pclewis
Copy link

pclewis commented Sep 8, 2022

Looks like tiff is meant to be in LINUX_LIBRARIES somewhere between jpeg and vips.

@weltonrodrigo
Copy link

I belive the problem here is that libvips inside the jar depends on libtiff:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libvips.so9627007704616512387: libtiff.so.5: cannot open shared object file: No such file or directory
        at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
        at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
        at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
        at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
        at java.base/java.lang.Runtime.load0(Runtime.java:852)
        at java.base/java.lang.System.load(System.java:2025)
        at com.criteo.vips.Vips.loadLibraryFromJar(Vips.java:112)
        at com.criteo.vips.Vips.tryLoadLibrariesFromJar(Vips.java:78)
        at com.criteo.vips.Vips.<clinit>(Vips.java:58)
        at Vips.main(foo.java:10)

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