<p>When compiling bitcoin-qt on windows I get through </p>

<pre><code>qmake "USE_UPNP=-" bitcoin-qt.pro
</code></pre>

<p>but when I run</p>

<pre><code>make -f Makefile.Release
</code></pre>

<p>it returns</p>

<pre><code>ld.exe: cannot find -ldb_cxx
</code></pre>

<p>which I am pretty sure is the Berkeley DB.  So I went into C:\deps\db-4.8.30.NC\build_unix and found db_cxx.h and added the path to the PATH before trying again only to fail</p>

CC BY-SA 3.0
2014-03-19T20:54:18.480Z
`-ldb` implies levelDB.
John T
CC BY-SA 3.0
2014-03-19T20:58:03.263Z
I though it implies library DB, because running ld.exe -l db_cxx has the same results.  How can I fix levelDB if that's what it is?
jamd315
CC BY-SA 3.0
2014-03-19T21:02:50.743Z
To think of it you may be correct. My bad!
John T
<bitcoin-qt-setup>
When compiling qt ld.exe: cannot find -ldb_cxx
jamd315
# When compiling qt ld.exe: cannot find -ldb_cxx

(Asked by: username_0 on 2014-03-19)

When compiling bitcoin-qt on windows I get through

```
qmake "USE_UPNP=-" bitcoin-qt.pro

```

but when I run

```
make -f Makefile.Release

```

it returns

```
ld.exe: cannot find -ldb_cxx

```

which I am pretty sure is the Berkeley DB. So I went into C:\deps\db-4.8.30.NC\build\_unix and found db\_cxx.h and added the path to the PATH before trying again only to fail

**Tags:** bitcoin-qt-setup

> **Comments:**
> **username_1**: `-ldb` implies levelDB.  
> **username_0**: I though it implies library DB, because running ld.exe -l db_cxx has the same results.  How can I fix levelDB if that's what it is?  
> **username_1**: To think of it you may be correct. My bad!  

---

## 0 answers

