Comments (8)
Thank you very much, Martin!
But, in both cases I used the source code from here: https://github.com/basho/riak/releases/tag/riak-3.2.0
from riak.
Looks like your building from develop
. This branch now includes this PR - basho/eleveldb#272 - which requires snappy to be pre-installed on your OS before making Riak.
The 3.2.1 release will be the first to include this update, and that is maybe 2-3 weeks away from release. I will add a reminder to the release notes about this dependency, when this is ready to be launched.
from riak.
I had assumed you'd used develop
because of the tag on the eleveldb fetch.
In riak-3.2.0
the commit in rebar.lock for eleveldb is:
https://github.com/basho/riak/blob/riak-3.2.0/rebar.lock#L31-L34
This is also what it says in the source code files attached to the release for download.
In your logs it said:
===> Fetching eleveldb (from {git,"https://github.com/basho/eleveldb.git",
{ref,"6c0d5bf16b84d06609e272dd6803d4537c24cf42"}})
.. and this is the tag from develop
- https://github.com/basho/riak/blob/develop/rebar.lock#L31-L34.
I'm not sure what might have happened to cause this. Was The riak-riak-3.2.0
folder definitely empty before you started?
from riak.
I understand you, thanks.
The folder "riak-riak-3.2.0" was empty before I started. I checked it.
from riak.
Just in case, I've double-checked a fresh install from the downloaded source myself - and the correct, expected commit of eleveldb is fetched, and the release builds as expected. I can't explain what happened in your case.
from riak.
It may not be the best solution, but it helped me to solve my problem.
I rebuilt linux-kernel on my laptop and the compilation was successful!
From the bottom of my heart, thank you, Martin!
from riak.
@gvsafronov @martinsumner
Hi guys, I'm going through the exact same issue as gvsafronov.
My env: Ubuntu 22.04, i'm using tag riak-riak-3.2.0
(https://github.com/basho/riak/releases/tag/riak-3.2.0)
I'm using OTP25 (thanks to #1136)
During compile, there's an error without any error message in the middle of compiling eleveldb: No shared library output
(Full logs are at the bottom)
===> Compiling riak_auth_mods
===> Compiling c_src/eleveldb.cc
===> Compiling c_src/refobjects.cc
===> Compiling c_src/workitems.cc
===> Linking priv/eleveldb.so
make: *** [Makefile:29: compile] Error 1
- I checked the
priv/
and there was noteleveldb.so
- So i checked the tag referencing
eleveldb
- repo_dir/
rebar.lock
- repo_dir/
...
1},
{<<"eleveldb">>,
{git,"https://github.com/basho/eleveldb.git",
{ref,"ea439b0ac8c7a27d5cfba39b9b4466e875fabe93"}},
...
- So i cloned https://github.com/basho/eleveldb.git and
- checkout to the tag
ea439b0ac8c7a27d5cfba39b9b4466e875fabe93
- checkout to the tag
- And it compiles find without any error: priv/eleveldb.so
$ git clone https://github.com/basho/eleveldb.git
$ cd eleveldb
$ git checkout ea439b0ac8c7a27d5cfba39b9b4466e875fabe93
$ git branch β
* (HEAD detached at ea439b0)
$ make
./rebar3 get-deps
===> Fetching eqc_rebar (from {git,"https://github.com/Quviq/eqc-rebar",{branch,"master"}})
===> Analyzing applications...
===> Compiling eqc_rebar
===> Fetching pc v1.14.0
===> Analyzing applications...
===> Compiling pc
===> Verifying dependencies...
./rebar3 compile
===> Verifying dependencies...
make[1]: Entering directory '/home/user/injung/eleveldb/c_src'
git config --global --add safe.directory /__w/eleveldb/eleveldb
echo "ubuntu-latest image with otp-22, are you happy now?"
ubuntu-latest image with otp-22, are you happy now?
if [ ! -d leveldb ]; then \
git clone --depth=1 --branch="2.0.38" https://github.com/basho/leveldb && \
(cd leveldb && git submodule update --depth 1 --init); \
fi
Cloning into 'leveldb'...
Note: switching to '6fb82424b0a00f21ec2a25ec5fdf94e9a9700793'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
...
===> Compiling eleveldb
===> Compiling c_src/eleveldb.cc
===> Compiling c_src/refobjects.cc
===> Compiling c_src/workitems.cc
===> Linking /home/user/injung/eleveldb/priv/eleveldb.so
- I have no idea why it makes an error only during compiling eleveldb as dependency of Riak
from riak.
d
from riak.
Related Issues (20)
- Docker image HOT 4
- Upgrading to 3.0 HOT 5
- RIak Bitcask primary partition Failed to merge HOT 5
- Riak Off Siblings
- Reip doesn't work Riak >= 3.0 HOT 1
- riak 3.x `riak chkconfig` command returns non-zero on success
- Unable to add password authentication for riak control on browser in ubuntu 22.04 HOT 2
- Upgrade to Rebar 3.20 HOT 1
- Partitions waiting to handoff indefinitely HOT 4
- Support riak Erlang OTP-26, error on building Riak on Manjaro Linux on Erlang OTP-26 HOT 5
- Riak3.2.0 οΌusing Post-commit
- riak kv 3.2.0 OTP25 turns off when stanchion starts HOT 2
- upgrade folsom HOT 2
- All the Download Links are Broken HOT 2
- Multi-node on a single host configuration HOT 16
- Setup of Multi-node on single host
- relx_nodetool: not found - what is relx_nodetool? HOT 2
- riak 2.2.3 May I ask how to resolve this error report HOT 1
- Riak script uses $* not "$@" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riak.