user95678: I want to use this guide to set up a headless bitcoin core full node and came across the line:
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --disable-wallet

Unfortunately, the blog does not explain why he uses this.
First of all, I want to use my node with wallet. Second, I want to configure it to be usefull with a Raspberry Pi which has only 1GB of RAM and is also running other stuff, for example my Logitech Media Server for audio streaming. So I would like to make the node as lean as possible.
I know that I can use a config file for running  bitcoind with entries for upload limit and other setups. Do I need to run the skript also with options or are both setups interchangeably?
Also, I get the error Found Berkeley DB other than 4.8 upon configure. Can Ihave a wallet with the BDB other than 4.8? The error message suggests, that 4.8 is needed for "portable wallets". 
Here I found out about dependencies for the wallet and also about the option to built without GUI. Unfortunately, I cannot successfully ./configure with those neither, because BDB 4.8 is also not found this way.
However, to do it without GUI the option --without-guican be used, which is very usefull.

EDIT: I encountered another problem while make:
/usr/bin/ld: cannot find -ldb_cxx-4.8
collect2: error: ld returned 1 exit status
Makefile:4779: die Regel für Ziel „bitcoind“ scheiterte
make[2]: *** [bitcoind] Fehler 1
make[2]: Verzeichnis „/home/pi/Downloads/bin/bitcoin/src“ wird verlassen
Makefile:12975: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/home/pi/Downloads/bin/bitcoin/src“ wird verlassen
Makefile:776: die Regel für Ziel „all-recursive“ scheiterte
make: *** [all-recursive] Fehler 1
19:07:10 [pi@raspberrypi bitcoin]$ /usr/bin/ld: cannot find -ldb_cxx-4.8
-bash: /usr/bin/ld:: Datei oder Verzeichnis nicht gefunden

Here I found an answer to a related error and I used ld -ldb_cxx-4.8 --verbose and got this:
attempt to open //usr/local/lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //usr/local/lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //usr/lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //usr/lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //usr/local/lib/libdb_cxx-4.8.so failed
attempt to open //usr/local/lib/libdb_cxx-4.8.a failed
attempt to open //lib/libdb_cxx-4.8.so failed
attempt to open //lib/libdb_cxx-4.8.a failed
attempt to open //usr/lib/libdb_cxx-4.8.so failed
attempt to open //usr/lib/libdb_cxx-4.8.a failed
attempt to open //usr/arm-linux-gnueabihf/lib/libdb_cxx-4.8.so failed
attempt to open //usr/arm-linux-gnueabihf/lib/libdb_cxx-4.8.a failed
ld: cannot find -ldb_cxx-4.8

Now trying with sudo apt-get install gcc-4.8 g++-4.8. That did not help.
Maybe I have to try this guide: https://medium.com/@meeDamian/bitcoin-full-node-on-rbp3-revised-88bb7c8ef1d1

user60443: You can follow the instructions for Debian at the build docs: 
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
For Berkely DB, specifically:
Berkeley DB

It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
you can use the installation script included in contrib/
like so:

./contrib/install_db4.sh `pwd`


from the root of the repository.
Note: You only need Berkeley DB if the wallet is enabled (see Disable-wallet mode).

95678: <p>I want to use this <a href="http://www.raspberrypifullnode.com/" rel="nofollow noreferrer">guide</a> to set up a headless bitcoin core full node and came across the line:</p>

<pre><code>./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --disable-wallet
</code></pre>

<p>Unfortunately, the blog does not explain why he uses this.</p>

<p>First of all, I want to use my node <strong>with wallet</strong>. Second, I want to configure it to be usefull with a Raspberry Pi which has only <strong>1GB of RAM</strong> and is also running other stuff, for example my Logitech Media Server for audio streaming. So I would like to make the node as lean as possible.</p>

<p>I know that I can use a config file for running  <code>bitcoind</code> with entries for upload limit and other setups. Do I need to run the skript also with options or are both setups interchangeably?</p>

<p>Also, I get the error <code>Found Berkeley DB other than 4.8</code> upon configure. Can Ihave a wallet with the BDB other than 4.8? The error message suggests, that 4.8 is needed for "portable wallets". </p>

<p><a href="http://www.raspberrypifullnode.com/" rel="nofollow noreferrer">Here</a> I found out about dependencies for the wallet and also about the option to built without GUI. Unfortunately, I cannot successfully <code>./configure</code> with those neither, because BDB 4.8 is also not found this way.</p>

<p>However, to do it without GUI the option <code>--without-gui</code>can be used, which is very usefull.</p>

<hr>

<p><strong>EDIT: I encountered another problem while <code>make</code>:</strong></p>

<pre><code>/usr/bin/ld: cannot find -ldb_cxx-4.8
collect2: error: ld returned 1 exit status
Makefile:4779: die Regel für Ziel „bitcoind“ scheiterte
make[2]: *** [bitcoind] Fehler 1
make[2]: Verzeichnis „/home/pi/Downloads/bin/bitcoin/src“ wird verlassen
Makefile:12975: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/home/pi/Downloads/bin/bitcoin/src“ wird verlassen
Makefile:776: die Regel für Ziel „all-recursive“ scheiterte
make: *** [all-recursive] Fehler 1
19:07:10 [pi@raspberrypi bitcoin]$ /usr/bin/ld: cannot find -ldb_cxx-4.8
-bash: /usr/bin/ld:: Datei oder Verzeichnis nicht gefunden
</code></pre>

<p><a href="https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary">Here</a> I found an answer to a related error and I used <code>ld -ldb_cxx-4.8 --verbose</code> and got this:</p>

<pre><code>attempt to open //usr/local/lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //usr/local/lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //usr/lib/arm-linux-gnueabihf/libdb_cxx-4.8.so failed
attempt to open //usr/lib/arm-linux-gnueabihf/libdb_cxx-4.8.a failed
attempt to open //usr/local/lib/libdb_cxx-4.8.so failed
attempt to open //usr/local/lib/libdb_cxx-4.8.a failed
attempt to open //lib/libdb_cxx-4.8.so failed
attempt to open //lib/libdb_cxx-4.8.a failed
attempt to open //usr/lib/libdb_cxx-4.8.so failed
attempt to open //usr/lib/libdb_cxx-4.8.a failed
attempt to open //usr/arm-linux-gnueabihf/lib/libdb_cxx-4.8.so failed
attempt to open //usr/arm-linux-gnueabihf/lib/libdb_cxx-4.8.a failed
ld: cannot find -ldb_cxx-4.8
</code></pre>

<p>Now trying with <code>sudo apt-get install gcc-4.8 g++-4.8</code>. That did not help.</p>

<p>Maybe I have to try this guide: <a href="https://medium.com/@meeDamian/bitcoin-full-node-on-rbp3-revised-88bb7c8ef1d1" rel="nofollow noreferrer">https://medium.com/@meeDamian/bitcoin-full-node-on-rbp3-revised-88bb7c8ef1d1</a></p>
 60443: <p>You can follow the instructions for Debian at the build docs: </p>

<p><a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md</a></p>

<p>For Berkely DB, specifically:</p>

<p>Berkeley DB</p>

<hr>

<p>It is recommended to use Berkeley DB 4.8. If you have to build it yourself,</p>

<p>you can use <a href="/contrib/install_db4.sh">the installation script included in contrib/</a></p>

<p>like so:</p>



<pre><code>
./contrib/install_db4.sh `pwd`

</code></pre>

<p>from the root of the repository.</p>

<p><strong>Note</strong>: You only need Berkeley DB if the wallet is enabled (see <a href="/doc/build-unix.md#disable-wallet-mode"><em>Disable-wallet mode</em></a>).</p>
