Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie committed Jan 22, 2024
1 parent c0218d3 commit 9aa891b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/notes/sonoma broken internet.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Upgrading to macOS 14 Sonoma broke my network connection
date: 2023-11-27
tags:
- macos
---
I upgraded my mac to macOS 14, Sonoma earlier today. Upon first using it, my internet wouldn't connect!

Expand Down
32 changes: 32 additions & 0 deletions content/notes/sqlite extension on macos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Using SQLite extensions on macOS
date: 2024-01-22
tags:
- macos
- sqlite
---

I was playing with [sqlite-zstd](https://github.com/phiresky/sqlite-zstd), and upon trying to load the extension...

```
.load libsqlite_zstd
Error: unknown command or invalid arguments: "load". Enter ".help" for help
```

Sorry?

Turns out, the sqlite install on macOS is built without the ability to load extensions.

Luckily, Homebrew has a version that's much more useful

```
brew install sqlite
```

Note that this is not linked by default. You'll either need to link it

```
brew link sqlite --force
```

Or, specify the path.

0 comments on commit 9aa891b

Please sign in to comment.