-
Notifications
You must be signed in to change notification settings - Fork 27
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 error on Ubuntu 20.04.3: requires -fPIC #22
Comments
Hi Basanta, This is not directly related to my code, but most certainly due to the way you compiled and installed RocksDB. Best, |
Hi @rbost, I used 'make all' to install RocksDB, but I will try it with 'make shared_lib' as you suggested and let you know how it goes. |
Hi @rbost, I got rid of the previous error, but now it gives me undefined reference errors. I checked that these programs are installed in the system.
This is the line 137 of src/CMakeFiles/diana_server.dir/build.make::
Line 460 of CMakeFiles/Makefile2 Any help will be appreciated. |
So first of all, I agree that the instructions in the README file are faulty: after giving it a thought, using Now, I built the project in a fresh Ubuntu 20 LTS install, with the latest version of RocksDB, and here are two solutions I found to work. What follows are the installations step for RocksDB:
I understand you tried solution 1. Maybe retry after cleaning everything. |
Hi @rbost, Thank you for the response. I tried both the solutions you mentioned, and still got the same error as mentioned above. If you were able to build the project in Ubuntu 20 LTS, it is probably due to my environment. I will try with a fresh installation of Ubuntu. |
Hi @rbost, Can you please tell me which version of rocksdb was originally used to build the project? I am trying to build the opensse in Ubuntu 16, but still getting the same error as above. I tried both of the solutions you mentioned above to install the latest version of RocksDB.
Could there be any other mis-configured dependencies causing this issue? |
Hello,
I am trying to install OpenSSE on Ubuntu 20.04.3. I have installed all the dependencies needed, I am able to execute 'cmake', but I get the following error while trying to 'make' it.
I tried editing the CMakeLists.txt by adding the missing flag when compiling, but I still get the same error.
Please let me know if any other information is required.
The text was updated successfully, but these errors were encountered: