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

Build Gluten 1.2.0 with Dynamic Linking #7439

Open
z-anderson opened this issue Oct 8, 2024 · 0 comments
Open

Build Gluten 1.2.0 with Dynamic Linking #7439

z-anderson opened this issue Oct 8, 2024 · 0 comments
Labels

Comments

@z-anderson
Copy link

Problem description

We know that it's recommended to build gluten with static linking, but we need to build it with dynamic linking (for our own infrastructure reasons). We know that the dynamic linking approach should still be supported, but we haven't been able to get it to build with the new minor version 1.2.0 (we were able to build with 1.1.3). Can you give us some suggestions, please?

We're getting this error
Caused by: java.lang.UnsatisfiedLinkError: /tmp/gluten-44bd150e-5d84-4c45-9cee-cc8150214577/jni/815a69da-5eff-48f7-b1bf-84c3059ea4ee/gluten-14667935902554126713/libgluten-x86_64.so: /tmp/gluten-44bd150e-5d84-4c45-9cee-cc8150214577/jni/815a69da-5eff-48f7-b1bf-84c3059ea4ee/gluten-14667935902554126713/libgluten-x86_64.so: undefined symbol: _ZTIN6apache6thrift8protocol9TProtocolE

System information

Velox System Info v0.0.2
Commit: ba042a8546be1743e54533d899cdc83dace24cfe
CMake Version: 3.16.3
System: Linux-5.15.0-1070-aws
Arch: x86_64
CPU Name: Model name: Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 9.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 9.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt

\nThe results will be copied to your clipboard if xclip is installed.

CMake log

Caused by: java.lang.UnsatisfiedLinkError: /tmp/gluten-44bd150e-5d84-4c45-9cee-cc8150214577/jni/815a69da-5eff-48f7-b1bf-84c3059ea4ee/gluten-14667935902554126713/libgluten-x86_64.so: /tmp/gluten-44bd150e-5d84-4c45-9cee-cc8150214577/jni/815a69da-5eff-48f7-b1bf-84c3059ea4ee/gluten-14667935902554126713/libgluten-x86_64.so: undefined symbol: _ZTIN6apache6thrift8protocol9TProtocolE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant