<p>Since losing the database could lead to loss of funds, C-lightning is a bit conservative and will only accept to start against a SQLite runtime dependency of the same version it was compiled with.</p>
<p>To solve this issue, just recompile <code>lightningd</code>.</p>

CC BY-SA 4.0
2022-02-08T17:12:54.047Z
Can you tell me which step is this on the link? Because I might have just done that. Os is Macos. Link: https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos
Efe
CC BY-SA 4.0
2022-02-08T17:23:20.650Z
Did you update your system in-between the time you compiled `lightningd` and the time you tried to run it?
Antoine Poinsot
CC BY-SA 4.0
2022-02-08T17:26:35.360Z
Yes I might have. I tried so many thing so I'm not sure.
Efe
CC BY-SA 4.0
2022-02-08T17:27:56.847Z
Then just re-compile `lightningd` as suggested in the answer..
Antoine Poinsot
CC BY-SA 4.0
2022-02-10T21:21:49.933Z
I did recompile still the same :(
Efe
CC BY-SA 4.0
2022-02-08T16:55:44.433Z
2022-02-08T16:55:44.433Z
Antoine Poinsot
<p>I installed bitcoind and trying to run lightningd through this guide: <a href="https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos" rel="nofollow noreferrer">https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos</a>.</p>
<p>I did everything it says. Bitcoin node is running, blokcs are up to date but when I do  &quot;./lightningd/lightningd&quot;, it throws a message: &quot;SQLITE version mismatch: compiled 3036000, now 3032003&quot;.</p>
<p>How do I fix this and run a lightning node?</p>

<lightning-network><core-lightning><lightning-nodes>
lightningd wont work: SQLITE version mismatch: compiled 3036000, now 3032003
Efe
# lightningd wont work: SQLITE version mismatch: compiled 3036000, now 3032003

(Asked by: username_0 on 2022-02-08)

I installed bitcoind and trying to run lightningd through this guide: <https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos>.

I did everything it says. Bitcoin node is running, blokcs are up to date but when I do "./lightningd/lightningd", it throws a message: "SQLITE version mismatch: compiled 3036000, now 3032003".

How do I fix this and run a lightning node?

**Tags:** lightning-network, core-lightning, lightning-nodes


---

## 1 answers

### Answer by username_1 on 2022-02-08. Score: 2

Since losing the database could lead to loss of funds, C-lightning is a bit conservative and will only accept to start against a SQLite runtime dependency of the same version it was compiled with.

To solve this issue, just recompile `lightningd`.

> **Comments:**
> **username_0**: Can you tell me which step is this on the link? Because I might have just done that. Os is Macos. Link: https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos  
> **username_1**: Did you update your system in-between the time you compiled `lightningd` and the time you tried to run it?  
> **username_0**: Yes I might have. I tried so many thing so I'm not sure.  
> **username_1**: Then just re-compile `lightningd` as suggested in the answer..  
> **username_0**: I did recompile still the same :(  

---

