Compiling on Raspberry Pi

345 views
Skip to first unread message

Mike Williamson

unread,
Aug 3, 2015, 7:28:35 PM8/3/15
to ArangoDB
Hi,
I'm trying to get ArangoDB running on my Raspberry Pi 2.
I was happy to see a download for Raspbian on the Arango download page, but it seems to require a version of glibc that is newer than what is in the repos:

pi@raspberrypi ~ $ sudo dpkg -i arangodb-2.6.3-raspbian.deb
Selecting previously unselected package arangodb.
(Reading database ... 79132 files and directories currently installed.)
Unpacking arangodb (from arangodb-2.6.3-raspbian.deb) ...
Setting up arangodb (2.6.3) ...
[....] Starting arango database server: arangod/usr/sbin/arangod: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/sbin/arangod)
/usr/sbin/arangod: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/sbin/arangod)
/usr/sbin/arangod: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by /usr/sbin/arangod)
/usr/sbin/arangod: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by /usr/sbin/arangod)
[FAIL] database version check failed, maybe need to run 'upgrade'? ... failed!

ArangoDB 2 (http://www.arangodb.com)
  A multi-purpose open-source database with a flexible data model for documents,
  graphs, and key-values.

First Steps with ArangoDB:
  http:/www.arangodb.com/quickstart

Upgrading ArangoDB:
  https://docs.arangodb.com/Installing/Upgrading.html

Upgrading ArangoDB database files:
  > /etc/init.d/arangodb upgrade

Configuration file:
  /etc/arangodb/arangod.conf

Start ArangoDB shell client:
  > /usr/bin/arangosh

Start ArangoDB service:
  > /etc/init.d/arangodb start

Processing triggers for man-db ...


This leaves me with an ArangoDB service that fails on startup.
For the curious:

pi@raspberrypi ~ $ ldd --version
ldd (Debian EGLIBC 2.13-38+rpi2+deb7u8) 2.13
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.


I made an attempt at installing my own glibc but I have not gotten that working yet.


As a backup plan, I also tried installing Arch Linux on the Pi (since at least I can count on it being up to date), which works, and installing the ArangoDB package I made.

Sadly that fails as well. The output is here: http://paste.ubuntu.com/11996605/

Any thoughts on how to get this up and running (on either Arch or Raspbian) would be much appreciated!

Mike

Wilfried Gösgens

unread,
Aug 4, 2015, 4:01:01 AM8/4/15
to ArangoDB
the Package should run on a debian jessie.
Cheers, Willi
Reply all
Reply to author
Forward
0 new messages