Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj3Zq-0097c9-BG for pgsql-general@arkaria.postgresql.org; Wed, 20 Sep 2023 20:13:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qj3Zn-002f6j-JJ for pgsql-general@arkaria.postgresql.org; Wed, 20 Sep 2023 20:13:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj3Zn-002f6R-6k for pgsql-general@lists.postgresql.org; Wed, 20 Sep 2023 20:13:35 +0000 Received: from mr85p00im-hyfv06021401.me.com ([17.58.23.190]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj3Zk-006NYN-Ft for pgsql-general@lists.postgresql.org; Wed, 20 Sep 2023 20:13:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1695240807; bh=xYpYCmMGDl6fhKxv2PbV714dKgtX0OVuGCRnQ9/sQho=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=m8cRn3HSCzUtmeBVz0O/VQM++mwvWiOpHJQeS/SRv2vgeld/zZ0cRrT3/tungz3JP brhdaHG99Wx2Qqo44cYk6wg2ykWt4DaMU0JMpZ3DehfvQvSABsDc0Re0zIr6D6lnhI bTQHsmsPPdUNqGnT0JR4VfnEFOVwmTfdZbu6mD9hCw7SZ9XcBxq5VYnSamwBhv0mwX +99UPavRL5foRn5fVAUolrMcdJUP65I9M4qd/lRhOlZGzOVZSgSXAOgI4j13G0oOEk OwDGLA30engoc0fF9sR0pH+75sL3yw1KIH0i/OjMz7ui0XuOqX/DEQaP/q3k1D8HY1 7BhL9FhPsUyww== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06021401.me.com (Postfix) with ESMTPSA id BF3EB303845A for ; Wed, 20 Sep 2023 20:13:26 +0000 (UTC) From: "A. Reichstadt" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Cannot link against libpq on macOS Message-Id: <660E0989-8440-48E6-9911-E77DEAF41C39@mac.com> Date: Wed, 20 Sep 2023 13:13:25 -0700 To: "pgsql-general@lists.postgresql.org" X-Mailer: Apple Mail (2.3696.100.31) X-Proofpoint-GUID: QH2Nf_4PvooHdLZbCnWMevRdaztb5kBP X-Proofpoint-ORIG-GUID: QH2Nf_4PvooHdLZbCnWMevRdaztb5kBP X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.816,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2022-01-18=5F01:2022-01-14=5F01,2022-01-18=5F01,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=2 phishscore=0 clxscore=1011 malwarescore=0 adultscore=0 mlxlogscore=181 suspectscore=0 mlxscore=2 bulkscore=0 spamscore=2 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309200169 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, I have been struggling with trying to use a current version of libpq to = link against on macOS in Xcode. It seems that nothing works, nobody on = the web eventually succeeded either as far as I found so far. I try to = write a small sample client. I started with the public source download = to built libpq itself, which did work. But I am lost as to what files to = actually include in my project then. I dragged lib, include, libpq into = my project, but then it the compiler complains about the header internal = references, so I need to remove lib/ in front of any includes in files, = or it doesn=E2=80=99t get found. It makes no difference if I add Linker = flags or search paths. PLease, can someone help? Thanks, Alex=