Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUbWp-0007R9-En for pgsql-general@arkaria.postgresql.org; Tue, 21 Feb 2023 22:54:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pUbWo-00041C-BL for pgsql-general@arkaria.postgresql.org; Tue, 21 Feb 2023 22:54:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUbWm-0003zL-Si for pgsql-general@lists.postgresql.org; Tue, 21 Feb 2023 22:54:30 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUbWj-0002uC-Rd for pgsql-general@lists.postgresql.org; Tue, 21 Feb 2023 22:54:27 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 924655C0102; Tue, 21 Feb 2023 17:54:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 21 Feb 2023 17:54:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1677020064; x= 1677106464; bh=sQSwsPNf0qc8C9FoUlxNrvk58YRFSPyA6qc5TzrcAjg=; b=m opZnCw9m2JN+u4gAk2uoH+hAHkKSRKdmTdvnW081vtOLAzeoxNt7C9gJ8NOItg6D i5remsJ89q46pqehNjF25VVjzSZeOiBmqpIpfehfkJ49qzIjo01FlMlpoOdQyM90 uV8EoFCBYwCPfKAtBhK4RJXPxvD9nb0ogRRGFulaRYEMhDbUE7lU72KyZZloe8Uu PDCM40ALpUvt64FSrftDVwRlZddad7jRMTPwwli8dJiUrgg3RUb4kf/avlLYXBgt wWHbBYuvPkHwju+voQ1bjZjUxyZvKhxrta3jbDFSrjJrkaMMp+3/YVLC+Adm78Kw fB15bKvAyDba6zpIcVZyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1677020064; x=1677106464; bh=s QSwsPNf0qc8C9FoUlxNrvk58YRFSPyA6qc5TzrcAjg=; b=jJzboi8E9WfPojtJo ZZMy5Xxq5KSau/4E6xJjdsWUol7Okcg92EBTWXRGD1f50TTPYaRyl2UYZsFVjqzA UdyIeUYRk2trzD7MbH9+I2hsj4szyG7UyoQTJLN6tJjTJQvJKqZmVds4RzAdK1V7 2D3jHtqh7l4HrvC5HBXO8LLYQX7EMW0yAIWTcito4DLtpVdxPtgyhy5+tuyOzfly 3PAZ5nN4Ljo4YDRHfOWX6G4FbT3PeWcYhM5hXBGpaVykn5TTOA9+973Ip4wni4Sj bzLEtXIZyIrAQDOjBnee+n0RLhxn9Vv+jNQrBF8MhzkGl7MxJdOoFYjegMmr/WUW PZP6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejkedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepudfgueelge evfffhgeeljeehhfettdegieelgefgheefffefveegjedtueetffdtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Feb 2023 17:54:24 -0500 (EST) Message-ID: <727eb4e7-0d62-49ba-3dbb-225816315cea@aklaver.com> Date: Tue, 21 Feb 2023 14:54:23 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Debugging postgres on Windows - could not open directory "/lib" To: Cathy Xie , pgsql-general@lists.postgresql.org References: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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