public inbox for [email protected]help / color / mirror / Atom feed
No console output from PostgresSQL binaries on fresh windows install 4+ messages / 2 participants [nested] [flat]
* No console output from PostgresSQL binaries on fresh windows install @ 2020-10-28 11:54 [email protected] 0 siblings, 1 reply; 4+ messages in thread From: [email protected] @ 2020-10-28 11:54 UTC (permalink / raw) To: pgsql-novice Good day everyone, when trying to run the official PG 13 binaries on a fresh Windows 10 VM the application exists immediately with exit code -1073741515 and produces no console output of any kind. After PostgreSQL as been installed on the machine using the installer, the binaries work fine, even after removing the installation again. The described behavior occurs on any of the executables in the /bin folder (pg_cts, initdb, pg_dump, ...). I’ve tested this on multible Windows 10 Pro VM’s (Azure Vm, local VM) . Are there any obvious dependencies I‘m missing? Thank you for your time, Tim ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: No console output from PostgresSQL binaries on fresh windows install @ 2020-10-28 13:10 Laurenz Albe <[email protected]> parent: [email protected] 0 siblings, 1 reply; 4+ messages in thread From: Laurenz Albe @ 2020-10-28 13:10 UTC (permalink / raw) To: [email protected]; pgsql-novice On Wed, 2020-10-28 at 12:54 +0100, [email protected] wrote: > when trying to run the official PG 13 binaries on a fresh Windows 10 VM the application exists > immediately with exit code -1073741515 and produces no console output of any kind. You mean "exits", not "exists", right? > After PostgreSQL as been installed on the machine using the installer, the binaries > work fine, even after removing the installation again. > > The described behavior occurs on any of the executables in the /bin folder (pg_cts, initdb, pg_dump, ...). > I’ve tested this on multible Windows 10 Pro VM’s (Azure Vm, local VM) . > Are there any obvious dependencies I‘m missing? Hard to say - perhaps there was something missing in the PATH, so that required shared libraries could not be found? Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com ^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: No console output from PostgresSQL binaries on fresh windows install @ 2020-10-28 13:42 [email protected] parent: Laurenz Albe <[email protected]> 0 siblings, 1 reply; 4+ messages in thread From: [email protected] @ 2020-10-28 13:42 UTC (permalink / raw) To: 'Laurenz Albe' <[email protected]>; pgsql-novice > You mean "exits", not "exists", right? You are right, of course. > Hard to say - perhaps there was something missing in the PATH, so that required shared libraries could not be found? Have you got any idea where I would find more information on that? I not able to find anything but the build dependencies on the topic. If not, I might have to consider another way of implementing PostgreSQL as a backend for my application. (possibly a headless installer) Appreciate your time, Tim Sandner ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: No console output from PostgresSQL binaries on fresh windows install @ 2020-10-28 15:38 Laurenz Albe <[email protected]> parent: [email protected] 0 siblings, 0 replies; 4+ messages in thread From: Laurenz Albe @ 2020-10-28 15:38 UTC (permalink / raw) To: [email protected]; pgsql-novice On Wed, 2020-10-28 at 14:42 +0100, [email protected] wrote: > > Hard to say - perhaps there was something missing in the PATH, so that required shared libraries could not be found? > > Have you got any idea where I would find more information on that? I not able to find anything but the build dependencies on the topic. > If not, I might have to consider another way of implementing PostgreSQL as a backend for my application. (possibly a headless installer) I guess you don't find anything about that in the installation section because it is operating system specific. PostgreSQL does not consist of statically linked monolithic executables, but it requires shared libraries for its operation (DLL in Windows). The required shared libraries are included in the binary Windows distribution. But you have to configure the shared library search path, otherwise Windows won't find the shared libraries. On windows, the PATH environment variable doubles as shared library search path. Ask your system administrator or perform a web search about PATH on Windows. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-10-28 15:38 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-10-28 11:54 No console output from PostgresSQL binaries on fresh windows install [email protected] 2020-10-28 13:10 ` Laurenz Albe <[email protected]> 2020-10-28 13:42 ` [email protected] 2020-10-28 15:38 ` Laurenz Albe <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox