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

My Local PC(M1 macOs) not working. #136

Open
umyonghyun opened this issue Aug 3, 2022 · 3 comments
Open

My Local PC(M1 macOs) not working. #136

umyonghyun opened this issue Aug 3, 2022 · 3 comments

Comments

@umyonghyun
Copy link

hello.
i used to macOS by M1.
so i test this library but not working as a blew message please check my issue.
and i wonder that this issue is releated to m1.

java.lang.UnsatisfiedLinkError: /private/var/folders/x7/xxt_f2hd4z7bn25xsr8h88km0000gp/T/libJVips.dylib7088253940309062473: dlopen(/private/var/folders/x7/xxt_f2hd4z7bn25xsr8h88km0000gp/T/libJVips.dylib7088253940309062473, 0x0001): Library not loaded: /usr/local/opt/glib/lib/libglib-2.0.0.dylib Referenced from: /private/var/folders/x7/xxt_f2hd4z7bn25xsr8h88km0000gp/T/libJVips.dylib7088253940309062473 Reason: tried: '/usr/local/opt/glib/lib/libglib-2.0.0.dylib' (no such file), '/usr/lib/libglib-2.0.0.dylib' (no such file) at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627) at java.base/java.lang.Runtime.load0(Runtime.java:768) at java.base/java.lang.System.load(System.java:1837) at com.criteo.vips.Vips.loadLibraryFromJar(Vips.java:112) at com.criteo.vips.Vips.<clinit>(Vips.java:63)

@dbouron
Copy link
Contributor

dbouron commented Aug 9, 2022

Hi,
libJVips.dylib hasn't been compiled for arm architecture but only for x86_64. This is why you have this error

@kdekooter
Copy link

kdekooter commented Oct 12, 2022

Is there a way to work around this? Or is a compilation for ARM on the roadmap?

@esiqveland
Copy link

Did you solve this?

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

4 participants