From: ksylvest (@ksylvest) <noreply+ksylvest@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #900: Unable to Install w/ Postgres 18 on MacOS using Homebrew
Date: Thu, 25 Sep 2025 16:14:53 +0000
Message-ID: <gh-pgvector-pgvector-900@github.com> (raw)
`pgvector` does not seem to install correctly when paired with Postgres 18:
```bash
brew install pgvector postgresql@18
brew link postgresql@18
brew services start postgresql@18
```
```bash
psql
```
```sql
CREATE EXTENSION VECTOR
```
```
ERROR: extension "vector" is not available
HINT: The extension must first be installed on the system where PostgreSQL is running.
```
I'm not sure if this is the culprit, but doing a list does not seem to inlcude a postgresql@18 .dylib?
```bash
brew list pgvector
```
```
/usr/local/Cellar/pgvector/0.8.1/include/postgresql@14/ (3 files)
/usr/local/Cellar/pgvector/0.8.1/include/postgresql@17/ (3 files)
/usr/local/Cellar/pgvector/0.8.1/lib/postgresql@14/vector.so
/usr/local/Cellar/pgvector/0.8.1/lib/postgresql@17/vector.dylib
/usr/local/Cellar/pgvector/0.8.1/sbom.spdx.json
/usr/local/Cellar/pgvector/0.8.1/share/postgresql@14/ (37 files)
/usr/local/Cellar/pgvector/0.8.1/share/postgresql@17/ (37 files
```