From: Cathy Xie <cathy.xyy@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Debugging postgres on Windows - could not open directory "/lib"
Date: Wed, 22 Feb 2023 06:12:06 +0800
Message-ID: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com> (raw)
To whom it may concern,
I'm trying to build and debug postgresql on Windows. After building successfully, a file named pgsql.sln was generated. I opened it in Visual Studio 2022, and set 'postgres' as the single startup project. But when I started debugging it, the error came out:
'FATAL: could not open directory "/lib": No such file or directory.
Here is my 'pgsql' Property setting in Visual Studio:
I would greatly appreciate it if someone could give me some suggestions on how to fix this issue.
Best regards,
Cathy
Attachments:Screenshot_20230221_052101.png (image/png, 23.0K) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: cathy.xyy@gmail.com
Subject: Re: Debugging postgres on Windows - could not open directory "/lib"
In-Reply-To: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com>
References: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox