microsoft / microsoft/vscode-pgsql

Install Error on MacOS 12.6.2

Open
#40 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
395
Forks
33
Avg merge
1h 46m
Merged PRs (30d)
3

Description

On my older iMac running MacOS 12.6.2, I get the following error:

[PYI-7292:ERROR] Failed to load Python shared library '/Users/seancurry2/.vscode/extensions/ms-ossdata.vscode-pgsql-1.4.1/pgsqltoolsservice/v2.0.3/OSX/pgsqltoolsservice/_internal/libpython3.10.dylib': dlopen: dlopen(/Users/seancurry2/.vscode/extensions/ms-ossdata.vscode-pgsql-1.4.1/pgsqltoolsservice/v2.0.3/OSX/pgsqltoolsservice/_internal/libpython3.10.dylib, 0x000A): Symbol not found: (_mkfifoat)
Referenced from: '/Users/seancurry2/.vscode/extensions/ms-ossdata.vscode-pgsql-1.4.1/pgsqltoolsservice/v2.0.3/OSX/pgsqltoolsservice/_internal/libpython3.10.dylib'
Expected in: '/usr/lib/libSystem.B.dylib'
[Error - 4:05:34 PM] Connection to server got closed. Server will not be restarted.

To Reproduce

Steps to reproduce the behavior:

  1. Install PostgreSQL Extension on MacOS 12.6.2
  2. See above error in VS Code Output

Expected behavior

Install without errors

VS Code version

1.100.2 Universal

Add any other context about the problem here.

I realize that this is an older MacOS Version, but I can't update it on this machine. The new PostgreSQL extension works fine on my MacBook Pro M1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on macOS 12.6.2 with VS Code 1.100.2 and the PostgreSQL extension, then inspect the packaged pgsqltoolsservice runtime around _internal/libpython3.10.dylib and the _mkfifoat load error. Done means the extension installs and its server connection stays open without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, postgresql, python
Domain
databases, desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.