Hi all,
I’m trying to use the java api for Xgboost for making use of some pretrained Xgboost models. I’m using the new Mac book pro with m1 chipset.
Unfortunately, I did not succeeded in loading the Xgboost library:
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/98/0kprbmp558bg3ck2smxfbg200000gn/T/libxgboost4j15518660024770728892.dylib: dlopen(/private/var/folders/98/0kprbmp558bg3ck2smxfbg200000gn/T/libxgboost4j15518660024770728892.dylib, 1): no suitable image found. Did find:
/private/var/folders/98/0kprbmp558bg3ck2smxfbg200000gn/T/libxgboost4j15518660024770728892.dylib: mach-o, but wrong architecture
/private/var/folders/98/0kprbmp558bg3ck2smxfbg200000gn/T/libxgboost4j15518660024770728892.dylib: mach-o, but wrong architecture
the python version I’m using is the 3.8.8 arm64 installed with anaconda.
I already installed libomp with brew and tried to locally build the library, but the result was the same.
Can you help me in any manner?
Thanks in advance!