Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New install on Sonoma 14.4 fails to run #4474

Open
par-texx opened this issue Jan 23, 2025 · 0 comments
Open

New install on Sonoma 14.4 fails to run #4474

par-texx opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@par-texx
Copy link

Describe the bug
Installing Steampipe via Homebrew on a new Macbook M3 Pro fails to load with the following error:

Error: failed to initialise functions: ERROR: could not load library "/Users/<username>/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so": dlopen(/Users/<username>/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so, 0x000A): tried: '/Users/<username>/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/<username>/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so' (no such file), '/Users/<username>/.steampipe/db/14.2.0/postgres/lib/postgresql/steampipe_postgres_fdw.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')) (SQLSTATE 58P01)

Steampipe version (steampipe -v)

steampipe -v
Steampipe v1.0.2

To reproduce

brew update
==> Updating Homebrew...
Already up-to-date.
brew install turbot/tap/steampipe
steampipe query

Expected behavior
Steampipe should install the arm fdw, not the x86_64 version.

Additional context
Tried running "/bin/sh -c "$(curl -fsSL https://steampipe.io/install/postgres.sh)" and installing the FDW that way, but no change to the behaviour.

@par-texx par-texx added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant