-
Notifications
You must be signed in to change notification settings - Fork 619
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
Sqlite-jdbc is not supported on ppc64le #452
Comments
how to generate the .so file for ppc64le ? |
|
this is what it took for me to do this on a sun amd64 diff --git a/Makefile.common b/Makefile.common
index 9145cb0..d7d84f1 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -57,9 +57,9 @@ endif
# cross-compilation toolchain prefix (e.g. "arm-linux-gnueabi-")
CROSS_PREFIX :=
-Default_CC := $(CROSS_PREFIX)gcc
+Default_CC := $(CROSS_PREFIX)cc
Default_STRIP := $(CROSS_PREFIX)strip
-Default_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden
+Default_CCFLAGS := -m64 -I$(JAVA_HOME)/include -Ilib/inc_linux -O4 -xspace -fPIC -fvisibility=hidden
Default_LINKFLAGS := -shared
Default_LIBNAME := libsqlitejdbc.so
Default_SQLITE_FLAGS := |
Hi all, I'm also trying to make it work on a Linux Ubuntu 20.04 on IBM Power System with sqlite-jdbc version 3.36.0.4.
Can you help me understand what I'm missing? |
shouldn't it be |
You are right @gotson. After this change the library works correctly even on ppc64le enviroment. |
Closing as duplicate of #450 |
Can you please point to relevant documentation on how one can add support for ppc64le.
ERROR:-
Caused by: java.lang.Exception: No native library is found for os.name=Linux and os.arch=ppc64le
The text was updated successfully, but these errors were encountered: