-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
Building of v0.19.0 libsignal-jni.so on CentOS #479
Comments
Oops! I meant to update the build instructions before the release. We'll be doing another one soon because the Docker build is broken, and I'll try to put instructions in there once we've worked it out. You'll need a C/C++ compiler installed in addition to |
Verified: it looks like |
My compile host is a CentOS 7 (formerly OracleLinux). I installed clang, which brought its dependency libstdc++-devel. But that results in:
I am rather unexperienced with git and compile processes, sorry. I tried setting CC=/usr/bin/clang
|
So I'm happy to continue helping to puzzle out errors here, but CentOS might be close enough to Debian/Ubuntu for you to use the prebuilt library attached to the release (now v0.19.1). Failing that, it sounds like Clang fixed this a long time ago (Clang 3.4.2 is quite old), so the problem might be in the packages available to you. I'm not super familiar with CentOS, unfortunately, so I don't know the best recommendations for going beyond what's in the default package repository. |
I think I managed now.
I hope I got all the commands and in the right order. Now I will try to compile signal-cli and test it. So far, thank you for the support. |
Oh man, building your own Clang. I'm glad it seems to be working for you, though! |
Hi,
I am trying to build the latest libsignal-jni.so according to https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal.
But I am running into several errors:
is "cmake" not installed?
CMake 3.5 or higher is required. You are running version 2.8.12.2
The last version I was able to compile was v0.11.1.
Any help is greatly appreciated.
Kind regards
Frank
The text was updated successfully, but these errors were encountered: