From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Cathy Xie <cathy.xyy@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Debugging postgres on Windows - could not open directory "/lib"
Date: Tue, 21 Feb 2023 14:54:23 -0800
Message-ID: <727eb4e7-0d62-49ba-3dbb-225816315cea@aklaver.com> (raw)
In-Reply-To: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com>
References: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com>
On 2/21/23 14:12, Cathy Xie wrote:
> 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:
> Screenshot_20230221_052101.png
>
> I would greatly appreciate it if someone could give me some suggestions
> on how to fix this issue.
1) How did you build it?
2) Open pgsql.sln in a text editor and report the results here.
>
> Best regards,
> Cathy
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, cathy.xyy@gmail.com
Subject: Re: Debugging postgres on Windows - could not open directory "/lib"
In-Reply-To: <727eb4e7-0d62-49ba-3dbb-225816315cea@aklaver.com>
References: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com> <727eb4e7-0d62-49ba-3dbb-225816315cea@aklaver.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