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 1ujyp0-00EJEZ-Pg for pgsql-general@arkaria.postgresql.org; Thu, 07 Aug 2025 11:30:12 +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 1ujyox-003u3O-9W for pgsql-general@arkaria.postgresql.org; Thu, 07 Aug 2025 11:30:07 +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 1ujio7-000DYG-Mj for pgsql-general@lists.postgresql.org; Wed, 06 Aug 2025 18:24:12 +0000 Received: from mail56.out.titan.email ([209.209.25.162]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ujio4-00170a-2S for pgsql-general@lists.postgresql.org; Wed, 06 Aug 2025 18:24:11 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp-out.flockmail.com (Postfix) with ESMTP id 038F6140052 for ; Wed, 6 Aug 2025 18:24:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=f17wstXGUJrPpLIgNpWs99eb36wiipAuHtDB+kjeu9U=; c=relaxed/relaxed; d=unitsistemas.com.br; h=cc:from:references:in-reply-to:subject:mime-version:date:to:message-id:from:to:cc:subject:date:message-id:in-reply-to:references:reply-to; q=dns/txt; s=titan1; t=1754504647; v=1; b=mtB0LYF5E+4Iudm10Oy+OtHYPeYD/EsZL1iLxk/hCbjLh24xiOWGUPmUVCT4W86jIF7gCVAu iNR+bqKYQ/D94DaZfOD/TEB7ViYOFVlnB31+WlNswxyU/lqwdjZQuki05wPgNy8l8etdT9PsQd4 MII3fXFZmKZ9Fni/2/0uw0sY= Received: from webmail-out.titan.email (unknown [10.10.162.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-out.flockmail.com (Postfix) with ESMTPSA id D151A14002E for ; Wed, 6 Aug 2025 18:24:06 +0000 (UTC) Date: Wed, 6 Aug 2025 18:24:06 +0000 (GMT) Feedback-ID: :suporte02@unitsistemas.com.br:unitsistemas.com.br:flockmailId From: "suporte02@unitsistemas.com.br" To: Adrian Klaver Cc: "pgsql-general@lists.postgresql.org" Message-ID: <185249649818731520.0.v2@titan.email> In-Reply-To: <55654126-257e-4690-af6f-2487d0deb979@aklaver.com> References: <55654126-257e-4690-af6f-2487d0deb979@aklaver.com> <185230387311936512.0.v2@titan.email> <185249649818731520.0.v2@titan.email> Subject: Re: Libpq.dll MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4824849_1132242103.1754504646805" X-F-Verdict: SPFVALID X-Titan-Src-Out: 1754504646919348434.14023.9026034933995299238@prod-use1-smtp-out1003. X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=evQlzppX c=1 sm=1 tr=0 ts=68939dc6 a=zHrZ7AzRxXNXChlLB2ksmw==:117 a=1oJP67jkp3AA:10 a=CEWIc4RMnpUA:10 a=7j0FZ4iXMVMA:10 a=xBh4JgPmAAAA:8 a=mTLUI6cdAAAA:8 a=SNL7wKpgAAAA:8 a=WRCdEmG8AAAA:8 a=gjV3ctBNEzWI7S4wlpgA:9 a=9cMIqXhgar6rnhPu:21 a=QEXdDO2ut3YA:10 a=Z_60_2tg-voYcxSmnYWO:22 a=uEXi9pYaZPHPrIM342IW:22 a=EMVSYF5ret27ffTNhHJe:22 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------=_Part_4824849_1132242103.1754504646805 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
2)
= a) Windows 10 Home Single Language, Version 22H2

b) The settings and steps I followed were: first, I= opened a project that already existed in my Delphi 10.2, then started edit= ing it. I changed one of the project columns, and the message appeared:
"None of t= he dynamic libraries can be found or is not loadable: libpq.dll!
Use TZConnection.= LibraryLocation if the location is invalid."

I then started working on the libpq.dll further, moving = it to a few folders, and then the message changed to
"Error Message: Client-Librar= y
libpq= .dll found but could not be loaded. Check compile-target and library compat= ibility!" and then it remained with that message until now when I try to co= mpile.
=
The executable's li= bpq is 32-bit, and its dependencies are correct and on the same architectur= e. In my Postgres, libpq was on a 64-bit architecture, so I downloaded the = 32-bit libdll, and the error still persisted.

c)"Error Message: Client-Library
libpq.dll found but could= not be loaded. Check compile-target and library compatibility!"

=


On ago 6 2025, at 2:46 pm, Adrian Klaver <adrian.klaver@aklave= r.com> wrote:
On 8/6/25 06:17, suporte02@unitsistemas.com.br wrote:
> Hello, how are you? I'm asking for help. When I try to compile a 32-bi=
t=20
> executable, in my 32-bit Delphi as well, in my 64-bit operating system=
,=20
> an error appears about libpq.dll, saying that it was found, but not=20
> loaded. Can you help me with this?

1) Please do not use whatever HTML markup/image you wrote the previous=20
post in.

2) This needs more information:

a) OS and version of same.

b) The configuration and compilation steps you took.

c) The complete error message.

>=20
>=20


--=20
Adrian Klaver
adrian.klaver@aklaver.com
------=_Part_4824849_1132242103.1754504646805--