Re: Debugging postgres on Windows - could not open directory "/lib"

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Cathy Xie <cathy(dot)xyy(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Debugging postgres on Windows - could not open directory "/lib"
Date: 2023-02-21 22:54:23
Message-ID: 727eb4e7-0d62-49ba-3dbb-225816315cea@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2023-02-21 23:17:38 Re: Is Autovacuum running?
Previous Message Brad White 2023-02-21 22:28:09 Re: Is Autovacuum running?