porsager / postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare
The Unlicense
7.38k stars 267 forks source link

ERROR: could not load library #835

Closed BGW1001 closed 6 months ago

BGW1001 commented 6 months ago

I have been trying to get PostgreSQL 16.2, compiled by Visual C++ build 1937, 64-bit running on a win11 machine. I am having a number of issues, but one that looks very much like a bug

CREATE EXTENSION plpython3u;

Throws this error. ERROR: could not load library "C:/Program Files/PostgreSQL/16/lib/plpython3.dll": The specified module could not be found.

But the file clearly exists in that directory.

But the because it is a windows machine the path should really be "C:\Program Files\PostgreSQL\16\lib\plpython3.dll". Looks like some unix style file paths are in use.

Is this a bug? or just misleading output. In any case that command does not work in my environment.

PS running the sql shell as admin or not admin makes no difference.

image
porsager commented 6 months ago

You're probably in the wrong place 😉 This is a JavaScript postgres driver, not PostgreSQL itself 😊

BGW1001 commented 6 months ago

Oh. Any idea where I can log an issue?