79694062

Date: 2025-07-08 10:22:53
Score: 0.5
Natty:
Report link

I found myself banging my head for quite a while to manage to make timescaledb extension work on a Mac M2. But using your instructions and looking into what the official script for moving the file does I manage to finally make it work and run smoothly

For whoever is stuck in a similar way here is what was wrong on my setup and what made it succeed:

- macOs 15.5 on Apple Silicon M2

- Postgres version 17 with Postgres App

- Timescaledb version 2.20.3

Your step 3.2 was always failing for me, first because on this line:

/usr/bin/install -c -m 755 $(find /opt/homebrew/Cellar/timescaledb/2.20.3/lib/timescaledb/postgresql/ -name "timescaledb*.so")  /Applications/Postgres.app/Contents/Versions/17/lib/postgresql

I had to specify the postgresql version at the homebrew location, like this:

/usr/bin/install -c -m 755 $(find /opt/homebrew/Cellar/timescaledb/2.7.2/lib/timescaledb/postgresql@17/ -name "timescaledb*.so")  /Applications/Postgres.app/Contents/Versions/17/lib/postgresql

And then the error was that no matter how I installed Timescaledb, the .so files was nowhere to be found. In the original script (which has the wrong paths, as it assumes you are running postgres from homebrew) it uses the correct file extension.

What fixed it, was to change the line to this:

/usr/bin/install -c -m 755 $(find /opt/homebrew/Cellar/timescaledb/2.20.3/lib/timescaledb/postgresql@17/ -name "timescaledb*.dylib")  /Applications/Postgres.app/Contents/Versions/17/lib/postgresql

I hope this can help someone else who has a similar setup or is having the same error. Not sure it is a Apple Silicon M2 difference or something that timescale itself changed.

Reasons:
  • Whitelisted phrase (-1): hope this can help
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same error
  • Low reputation (0.5):
Posted by: killerkiara