<p>You probably need a newer version of gcc.</p>
<p>This helped me fix for Ubuntu: <a href="https://askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04">https://askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04</a></p>
<p>TL&amp;DR: adds custom PPA repo so you will able to upgrade:</p>
<pre><code>sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt --fix-broken install
</code></pre>

CC BY-SA 4.0
2021-02-15T14:11:19.337Z
2021-02-15T14:11:19.337Z
prohfesor
<p>On Debian I successfully compiled <code>.bitcoind</code> without a wallet, but now I need the wallet.</p>
<p><code>./configure</code> tells me I need Berkeley CXX headers. Searching for how to do this on Debian brings up a bunch of Ubuntu answers saying to do either</p>
<pre><code>sudo apt-get install libdb4.8-dev libdb4.8++ libdb4.8++-dev
</code></pre>
<p>after having added a PPA, or</p>
<pre><code>wget http://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
make install
</code></pre>
<p>Both solutions throw errors. I'm focusing on the 1st solution.</p>
<p>The first solution throws this error:</p>
<blockquote>
<pre><code>The following packages have unmet dependencies:
 libdb4.8++ : Depends: libgcc-s1 (&gt;= 3.0) but it is not installable
</code></pre>
</blockquote>
<p>I'm not sure, but I assume this may be an Ubuntu vs. Debian issue? How can I bypass it?</p>

<bitcoind><wallet><linux><installation><dependencies>
Depends: libgcc-s1 (>=3.0) but it is not installable (Bitcoind wallet dependency problem on Debian)
Satoshi Woshi
# Depends: libgcc-s1 (>=3.0) but it is not installable (Bitcoind wallet dependency problem on Debian)

(Asked by: username_0 on 2020-09-04)

On Debian I successfully compiled .bitcoind without a wallet, but now I need the wallet.
./configure tells me I need Berkeley CXX headers. Searching for how to do this on Debian brings up a bunch of Ubuntu answers saying to do either
sudo apt-get install libdb4.8-dev libdb4.8++ libdb4.8++-dev

after having added a PPA, or
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
make install

Both solutions throw errors. I'm focusing on the 1st solution.
The first solution throws this error:

The following packages have unmet dependencies:
 libdb4.8++ : Depends: libgcc-s1 (>= 3.0) but it is not installable


I'm not sure, but I assume this may be an Ubuntu vs. Debian issue? How can I bypass it?

**Tags:** bitcoind, wallet, linux, installation, dependencies


---

## 1 answers

### Answer by username_1 on 2021-02-15. Score: 2

You probably need a newer version of gcc.
This helped me fix for Ubuntu: https://askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04
TL&DR: adds custom PPA repo so you will able to upgrade:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt --fix-broken install


---

