BUG #18408: ERROR: could not load library

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: ben(dot)watson(at)maroonanalytics(dot)com
Subject: BUG #18408: ERROR: could not load library
Date: 2024-03-26 00:04:33
Message-ID: 18408-69986ee5385222f2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18408
Logged by: Ben Watson
Email address: ben(dot)watson(at)maroonanalytics(dot)com
PostgreSQL version: 16.2
Operating system: Win11
Description:

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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2024-03-26 00:14:47 Re: Regression tests fail with musl libc because libpq.so can't be loaded
Previous Message Thomas Munro 2024-03-25 23:49:55 Re: Regression tests fail with musl libc because libpq.so can't be loaded