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

[Bug]: postgrest fails to start because of missing DLLs required #5959

Open
3 tasks done
develop7 opened this issue Jun 27, 2024 · 0 comments
Open
3 tasks done

[Bug]: postgrest fails to start because of missing DLLs required #5959

develop7 opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@develop7
Copy link

develop7 commented Jun 27, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

postgrest

Expected/Current Behaviour

Expected:

a console window would blink

Instead:

postgrest.exe doesn't start, citing the absence of LIBPQ.DLL in a message box, see screenshot below
VirtualBox_win10test_27_06_2024_15_46_23

Steps to Reproduce

0. Install Windows (e.g. Win10 LTSC 2021 evaluation), install chocolatey
1. `scoop install postgrest`, then open `scoop/shims` in Explorer
2. double-click postgrest.exe

Possible Solution

Ship {libcrypto-3-x64,libiconv-2,libintl-9,libssl-3-x64,libwinpthread-1,libpq}.dll (as per https://github.com/PostgREST/postgrest/pull/3469/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133ddR202) along with the postgrest.exe

Scoop and Buckets Version

PS C:\Users\vboxuser> scoop --version
Current Scoop version:
v0.4.2 - Released at 2024-05-14

Scoop Config

PS C:\Users\vboxuser> scoop config

last_update
-----------
2024-06-27T15:40:59.6824199+02:00

PowerShell Version

PS C:\Users\vboxuser> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.1237
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1237
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

UPD: sister issue for chocolateymajkinetor/au-packages#245

In before "why PostgREST does not ship them along with the executable" — PostgREST/postgrest#3469. TL;DR: it's not out job; we don't know where to get them canonically; EnterpriseDB (first obvious source of them) license doesn't allow to redistribute them.

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