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

postgrest is shipped without DLLs it requires to run #245

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

postgrest is shipped without DLLs it requires to run #245

develop7 opened this issue Jun 27, 2024 · 3 comments

Comments

@develop7
Copy link

develop7 commented Jun 27, 2024

Repro:

  1. Install Windows (e.g. Win10 LTSC 2021 evaluation), install chocolatey
  2. choco install postgrest, open C:\postgrest\ in Explorer
  3. double-click postgrest.exe

Expected: a console window would blink

What happens instead: a console window opens up, but also an message box complaining the LibPQ.dll is missing

VirtualBox_win10test_27_06_2024_15_17_57

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.

UPD: sister issue in scoop — ScoopInstaller/Main#5959

@develop7 develop7 changed the title postgrest is shipped without DLLs it's required to run postgrest is shipped without DLLs it requires to run Jun 27, 2024
@majkinetor
Copy link
Owner

majkinetor commented Sep 28, 2024

EnterpriseDB (first obvious source of them) license doesn't allow to redistribute them.

If EDB doesn't allow redistribution, then it can't be added to the choco package too. I think there is nothing one can do here except finding different source.

@develop7
Copy link
Author

https://ftp.postgresql.org/pub/odbc/versions.old/dll/psqlodbc_16_00_0000-x64.zip has required DLLs and, being really small, does not need to vendor and redistribute them. The fix is on the way to scoop.

@develop7
Copy link
Author

develop7 commented Oct 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants