# Org-roam suddenly can't find sqlite

**URL:** <https://org-roam.discourse.group/t/org-roam-suddenly-cant-find-sqlite/3046>\
**Category:** Troubleshooting\
**Created:** [April 15, 2023, 3:43am UTC](https://org-roam.discourse.group/t/org-roam-suddenly-cant-find-sqlite/3046 "2023-04-15T03:43:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethan](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/ethan/32/307_2.png) [@ethan](https://org-roam.discourse.group/u/ethan)\
**Post date:** [April 15, 2023, 3:43am UTC](https://org-roam.discourse.group/t/org-roam-suddenly-cant-find-sqlite/3046/1 "2023-04-15T03:43:52Z")

</div>

My org-roam setup suddenly cannot find sqlite. I’m not sure what may have happened, but this may have happened after I switched to using a build from [GitHub - jimeh/emacs-builds: Self-contained Emacs.app builds for macOS, with native-compilation support.](https://github.com/jimeh/emacs-builds).

I’ve looked at the org-roam manual, and it talks about a bunch of libraries that I can’t find any shred of online or in my package list tools in emacs.

I.e. this section: [Org-roam User Manual](https://www.orgroam.com/manual.html#How-to-cache) talks about `emacs-sqlite` and a number of others. I can’t find any of them. On Melpa I just see `sqlite3`: [MELPA](https://melpa.org/#/?q=emacs-sqlite)

So this is making me a feel a bit crazy. Is the manual out of date?

Has anyone had this happen before?

The actual error I get when I run e.g. `org-roam-node-find` is:

> load-with-code-conversion: Cannot open load file: No such file or directory, sqlite

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [April 15, 2023, 4:40am UTC](https://org-roam.discourse.group/t/org-roam-suddenly-cant-find-sqlite/3046/2 "2023-04-15T04:40:44Z")

</div>

> [@ethan](#):
>
> I can’t find any of them. On Melpa I just see `sqlite3`: [MELPA](https://melpa.org/#/?q=emacs-sqlite)

Your query string is misspelled. Try “emacsql” ([like this](https://melpa.org/#/?q=emacsql)), not “emacs-sqlite”. I see this:

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/a/a71da5059967d2d19974b4b103b1da7333b9a4a3.png)

I do not use Mac and I don’t know what “Self-contained Emacs.app application bundle, with no external dependencies” means but the Emacs version of this binary seems to be 28.2. Then I’d use [emacsql-sqlite](https://melpa.org/#/emacsql-sqlite), which is the long-time standard of Org-roam. You would need a C compiler installed on your Mac – I guess it would be `clang` for macOS (?) – refer to this part of the [manual](https://www.orgroam.com/manual.html#C-Compiler). If you have used Org-roam with Intel CPU before you have moved to Apple Silicon, you would probably need to re-compile the `emacs-sqlite` executable file.
