pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedLibpq.dll
8+ messages / 3 participants
[nested] [flat]
* Libpq.dll
@ 2025-08-06 13:17 suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
0 siblings, 2 replies; 8+ messages in thread
From: suporte02@unitsistemas.com.br @ 2025-08-06 13:17 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
------=_Part_4679234_1306440807.1754486276129
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<pre data-placeholder=3D"Tradu=C3=A7=C3=A3o" data-ved=3D"2ahUKEwiI8enrsvSOA=
xX5rZUCHTcnN6AQ3ewLegQICRAV" dir=3D"ltr" style=3D"max-width: 100%; white-sp=
ace: pre-wrap; overflow-wrap: break-word; font-style: normal; font-variant-=
ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spac=
ing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2;=
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickne=
ss: initial; text-decoration-style: initial; text-decoration-color: initial=
; unicode-bidi: isolate; font-size: 28px; line-height: 36px; background-col=
or: rgb(248, 249, 250); border: none; padding: 2px 0.14em 2px 0px; position=
: relative; margin: -2px 0px; resize: none; font-family: inherit; overflow:=
hidden; text-align: left; width: 270px; color: rgb(31, 31, 31); user-selec=
t: inherit; scrollbar-color: auto; box-sizing: border-box;" id=3D"isPasted"=
fr-original-style=3D"max-width: 100%; white-space: pre-wrap; overflow-wrap=
: break-word; font-style: normal; font-variant-ligatures: normal; font-vari=
ant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; tex=
t-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-=
text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration=
-style: initial; text-decoration-color: initial; unicode-bidi: isolate; fon=
t-size: 28px; line-height: 36px; background-color: rgb(248, 249, 250); bord=
er: none; padding: 2px 0.14em 2px 0px; position: relative; margin: -2px 0px=
; resize: none; font-family: inherit; overflow: hidden; text-align: left; w=
idth: 270px; color: rgb(31, 31, 31); user-select: inherit; scrollbar-color:=
auto; box-sizing: border-box;"><span lang=3D"en" style=3D"user-select: inh=
erit; scrollbar-color: auto; box-sizing: border-box;" fr-original-style=3D"=
user-select: inherit; scrollbar-color: auto; box-sizing: border-box;">Hello=
, how are you? I'm asking for help. When I try to compile a 32-bit executab=
le, in my 32-bit Delphi as well, in my 64-bit operating system, an error ap=
pears about libpq.dll, saying that it was found, but not loaded. Can you he=
lp me with this?</span></pre><div data-signature-parent=3D"sig-parent" tran=
slate=3D"no" fr-original-style=3D"" style=3D"user-select: inherit; scrollba=
r-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;"><sig=
nature style=3D"display: table; width: 100%; user-select: inherit; scrollba=
r-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;" data=
-signature-id=3D"local-aa659722-0a65" fr-original-style=3D"display:table;wi=
dth:100%;"><div fr-original-style=3D"" style=3D"user-select: inherit; scrol=
lbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;"><=
img src=3D"https://permanent-assets-download.flockmail.com/signature/380445=
/2022-06-29_6945ac19fa79d478ec41_38302" style=3D"width: 373px; display: blo=
ck; vertical-align: top; margin: 5px auto 5px 0px; text-align: left; scroll=
bar-color: var(--scrollbar-active-color) #0000; border: 0px; cursor: pointe=
r; padding: unset; user-select: none; max-width: 100%; position: relative; =
box-sizing: border-box;" fr-original-style=3D"width: 373px; display: block;=
vertical-align: top; margin: 5px auto 5px 0px; text-align: left;" fr-origi=
nal-class=3D"fr-draggable fr-deletable"><br fr-original-style=3D"" style=3D=
"user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000=
; box-sizing: border-box;"></div></signature></div><img class=3D"flm-open" =
width=3D"0" height=3D"0" style=3D"border:0;width:0;height:0;" src=3D"https:=
//us.knownhostlink.com/dc/t/mo/v2?t=3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.=
eyJwIjoiMTAwMiAzODA0NDUgcGdzcWwtZ2VuZXJhbEBsaXN0cy5wb3N0Z3Jlc3FsLm9yZyBjZDY=
3OWU3ZGU3NzQ3ZjEyOGQ1ZDQwOGJiNWY3ZDM2ZSA0MDIxODU4OTg1ODMxNjI5MCAxID8iLCJleH=
AiOjE3NzAwMzgyNzZ9.iZ5YID96eJ4XWy7Sd-6H6WJVU03OyfenBb0-FdoSHsScR1f9qqcQmon6=
PW1zjHZT-n6J32G1uI9H9-_Jo-G9SA&requestId=3Dw_06131743_SMR_14_100_p0tg">
------=_Part_4679234_1306440807.1754486276129--
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-06 17:46 Adrian Klaver <adrian.klaver@aklaver.com>
parent: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
1 sibling, 2 replies; 8+ messages in thread
From: Adrian Klaver @ 2025-08-06 17:46 UTC (permalink / raw)
To: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
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-bit
> executable, in my 32-bit Delphi as well, in my 64-bit operating system,
> an error appears about libpq.dll, saying that it was found, but not
> loaded. Can you help me with this?
1) Please do not use whatever HTML markup/image you wrote the previous
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.
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-06 18:24 suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
parent: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
1 sibling, 1 reply; 8+ messages in thread
From: suporte02@unitsistemas.com.br @ 2025-08-06 18:24 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
------=_Part_4824849_1132242103.1754504646805
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div id=3D"isPasted" fr-original-style=3D"" style=3D"user-select: inherit; =
scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-bo=
x;">2)</div><div fr-original-style=3D"" style=3D"user-select: inherit; scro=
llbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;">=
a) Windows 10 Home Single Language, Version 22H2</div><div fr-original-styl=
e=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-acti=
ve-color) #0000; box-sizing: border-box;"><br fr-original-style=3D"" style=
=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0=
000; box-sizing: border-box;"></div><div fr-original-style=3D"" style=3D"us=
er-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; b=
ox-sizing: border-box;">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:</di=
v><div fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-colo=
r: var(--scrollbar-active-color) #0000; box-sizing: border-box;">"None of t=
he dynamic libraries can be found or is not loadable: libpq.dll!</div><div =
fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(=
--scrollbar-active-color) #0000; box-sizing: border-box;">Use TZConnection.=
LibraryLocation if the location is invalid."</div><div fr-original-style=3D=
"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-c=
olor) #0000; box-sizing: border-box;"><br fr-original-style=3D"" style=3D"u=
ser-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; =
box-sizing: border-box;"></div><div fr-original-style=3D"" style=3D"user-se=
lect: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; box-si=
zing: border-box;">I then started working on the libpq.dll further, moving =
it to a few folders, and then the message changed to</div><div fr-original-=
style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-=
active-color) #0000; box-sizing: border-box;">"Error Message: Client-Librar=
y</div><div fr-original-style=3D"" style=3D"user-select: inherit; scrollbar=
-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;">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.</div><div fr-original-style=3D"" style=3D"user-select: inherit; scro=
llbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;">=
<br fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: =
var(--scrollbar-active-color) #0000; box-sizing: border-box;"></div><div fr=
-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--=
scrollbar-active-color) #0000; box-sizing: border-box;">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.</div><div fr-original-style=
=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-activ=
e-color) #0000; box-sizing: border-box;"><br fr-original-style=3D"" style=
=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0=
000; box-sizing: border-box;"></div><div fr-original-style=3D"" style=3D"us=
er-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; b=
ox-sizing: border-box;">c)"Error Message: Client-Library</div><div fr-origi=
nal-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scroll=
bar-active-color) #0000; box-sizing: border-box;">libpq.dll found but could=
not be loaded. Check compile-target and library compatibility!"</div><div =
data-signature-parent=3D"sig-parent" translate=3D"no" fr-original-style=3D"=
" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-co=
lor) #0000; box-sizing: border-box;"><signature style=3D"display: table; wi=
dth: 100%; user-select: inherit; scrollbar-color: var(--scrollbar-active-co=
lor) #0000; box-sizing: border-box;" data-signature-id=3D"local-aa659722-0a=
65" fr-original-style=3D"display:table;width:100%;"><div fr-original-style=
=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar-activ=
e-color) #0000; box-sizing: border-box;"><img src=3D"https://permanent-asse=
ts-download.flockmail.com/signature/380445/2022-06-29_6945ac19fa79d478ec41_=
38302" style=3D"width: 373px; display: block; vertical-align: top; margin: =
5px auto 5px 0px; text-align: left; scrollbar-color: var(--scrollbar-active=
-color) #0000; border: 0px; cursor: pointer; padding: unset; user-select: n=
one; max-width: 100%; position: relative; box-sizing: border-box;" fr-origi=
nal-style=3D"width: 373px; display: block; vertical-align: top; margin: 5px=
auto 5px 0px; text-align: left;" fr-original-class=3D"fr-draggable fr-dele=
table"><br fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-=
color: var(--scrollbar-active-color) #0000; box-sizing: border-box;"></div>=
</signature></div><br fr-original-style=3D"" style=3D"user-select: inherit;=
scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-b=
ox;"><img class=3D"flm-open" width=3D"0" height=3D"0" style=3D"border:0;wid=
th:0;height:0;" src=3D"https://us.rootserverlink.com/dc/t/mo/v2?t=3DeyJ0eXA=
iOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJwIjoiMTAwMiAzODA0NDUgcGdzcWwtZ2VuZXJhbEBsa=
XN0cy5wb3N0Z3Jlc3FsLm9yZyA4YTkyOTM2ZDZlYzkwMzUwNzE0ODkzZmIzMDI2N2RhZSA0MDIy=
MTY3MTg2NjQ0OTkyMiAyID8iLCJleHAiOjE3NzAwNTY2NDZ9.y7-LL_YN0dzgUb_sVT3rrtfAwg=
FwjlmV38q_vdgnKtxXZVuAntEaFfIBE9fqsNWccFYDnyUj0p-9WvW4wYDM1Q&requestId=3Dw_=
06182352_SMR_20_100_j7ou"><div class=3D"fr-inner gmail_quote flockmail-quot=
e flockmail-quote-id-<55654126-257e-4690-af6f-2487d0deb979@aklaver.com&g=
t;">
<br>
<div dir=3D"ltr">
On ago 6 2025, at 2:46 pm, Adrian Klaver <adrian.klaver@aklave=
r.com> wrote:
<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding:initial;padding-left:1ex;color:inherit">
<pre style=3D"display:block;font-family:monospace;white-space:pr=
e;margin:1__qem 0">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
</pre>
</blockquote>
</div>
------=_Part_4824849_1132242103.1754504646805--
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-06 19:28 Merlin Moncure <mmoncure@gmail.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 8+ messages in thread
From: Merlin Moncure @ 2025-08-06 19:28 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On Wed, Aug 6, 2025 at 11:46 AM Adrian Klaver <adrian.klaver@aklaver.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-bit
> > executable, in my 32-bit Delphi as well, in my 64-bit operating system,
> > an error appears about libpq.dll, saying that it was found, but not
> > loaded. Can you help me with this?
I Haven't used delphi in years (and was more C++ builder), but IIRC
there is a provided tool that extracts a static lib from a .dll. You
can then static link that, it will likely help you out as long as your
headers are set up right. Good luck!
merlin
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-06 20:02 Adrian Klaver <adrian.klaver@aklaver.com>
parent: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
0 siblings, 1 reply; 8+ messages in thread
From: Adrian Klaver @ 2025-08-06 20:02 UTC (permalink / raw)
To: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 8/6/25 11:24, suporte02@unitsistemas.com.br wrote:
>
>
> The executable's libpq is 32-bit, and its dependencies are correct and
> on the same architecture. In my Postgres, libpq was on a 64-bit
You need to give more details on what '... my Postgres ...' is?
Did you download it as package or did you build it?
In either case what was the source?
> 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!"
Looks like you are mixing 32/64 bit libraries.
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-07 12:14 suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 1 reply; 8+ messages in thread
From: suporte02@unitsistemas.com.br @ 2025-08-07 12:14 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
------=_Part_5085768_1791521992.1754568867461
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div id=3D"isPasted" fr-original-style=3D"" style=3D"user-select: inherit; =
scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-bo=
x;">When I say "my Postgres", I mean the Postgres 15.3 that I have installe=
d.</div><div fr-original-style=3D"" style=3D"user-select: inherit; scrollba=
r-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;"><br =
fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(=
--scrollbar-active-color) #0000; box-sizing: border-box;"></div><div fr-ori=
ginal-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scro=
llbar-active-color) #0000; box-sizing: border-box;">How about 32-bit lib.dl=
ls? I downloaded them from Google, placed them in my executable folder and =
in the Bin and Lib folders of my Postgres 15.3, and then extracted the pack=
age into the folders.</div><div fr-original-style=3D"" style=3D"user-select=
: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing=
: border-box;"><br fr-original-style=3D"" style=3D"user-select: inherit; sc=
rollbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;=
"></div><div fr-original-style=3D"" style=3D"user-select: inherit; scrollba=
r-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;">The =
link where I downloaded the 32-bit lib.dlls was this:</div><div fr-original=
-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--scrollbar=
-active-color) #0000; box-sizing: border-box;"><a target=3D"_blank" rel=3D"=
noopener noreferrer" href=3D"https://ftp.postgresql.org/pub/odbc/versions.o=
ld/dll/psqlodbc_15_00_0000-x64.zip" fr-original-style=3D"" style=3D"user-se=
lect: auto; scrollbar-color: var(--scrollbar-active-color) #0000; backgroun=
d: rgba(0, 0, 0, 0); box-sizing: border-box; color: rgb(76, 140, 246);">htt=
ps://ftp.postgresql.org/pub/odbc/versions.old/dll/psqlodbc_15_00_0000-x64.z=
ip</a></div><div fr-original-style=3D"" style=3D"user-select: inherit; scro=
llbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;">=
<br fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: =
var(--scrollbar-active-color) #0000; box-sizing: border-box;"></div><div fr=
-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(--=
scrollbar-active-color) #0000; box-sizing: border-box;">I I believe so, it'=
s a mix of 32-bit and 64-bit libraries. I just can't figure out how to fix =
it, since I already placed the 32-bit libraries in the Postgres Lib and Bin=
folders.</div><div data-signature-parent=3D"sig-parent" translate=3D"no" f=
r-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: var(-=
-scrollbar-active-color) #0000; box-sizing: border-box;"><signature style=
=3D"display: table; width: 100%; user-select: inherit; scrollbar-color: var=
(--scrollbar-active-color) #0000; box-sizing: border-box;" data-signature-i=
d=3D"local-aa659722-0a65" fr-original-style=3D"display:table;width:100%;"><=
div fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: =
var(--scrollbar-active-color) #0000; box-sizing: border-box;"><img src=3D"h=
ttps://permanent-assets-download.flockmail.com/signature/380445/2022-06-29_=
6945ac19fa79d478ec41_38302" style=3D"width: 373px; display: block; vertical=
-align: top; margin: 5px auto 5px 0px; text-align: left; scrollbar-color: v=
ar(--scrollbar-active-color) #0000; border: 0px; cursor: pointer; padding: =
unset; user-select: none; max-width: 100%; position: relative; box-sizing: =
border-box;" fr-original-style=3D"width: 373px; display: block; vertical-al=
ign: top; margin: 5px auto 5px 0px; text-align: left;" fr-original-class=3D=
"fr-draggable fr-deletable"><br fr-original-style=3D"" style=3D"user-select=
: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing=
: border-box;"></div></signature></div><br fr-original-style=3D"" style=3D"=
user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000;=
box-sizing: border-box;"><img class=3D"flm-open" width=3D"0" height=3D"0" =
style=3D"border:0;width:0;height:0;" src=3D"https://us.rootserverlink.com/d=
c/t/mo/v2?t=3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJwIjoiMTAwMiAzODA0NDUg=
cGdzcWwtZ2VuZXJhbEBsaXN0cy5wb3N0Z3Jlc3FsLm9yZyA4NmY4NWRjNWQwYjdlZDMwMmViYjU=
5NGY4Y2UxOWE4ZSA0MDIzMjQ0NjI5ODQyMzI5OCAyID8iLCJleHAiOjE3NzAxMjA4Njd9.zFkG0=
NWjQlIeFRPr1Zj60AFfSycVRmr0r8cqARa1Ibf5JHPSX_ye17qGun1bKanJWyXtgMmdcqAc9gEG=
bWPFvA&requestId=3Dw_07121413_SMR_19_100_jiy6"><div class=3D"fr-inner gmail=
_quote flockmail-quote flockmail-quote-id-<c79dc608-ac6f-444f-a17b-1d668=
b516478@aklaver.com>">
<br>
<div dir=3D"ltr">
On ago 6 2025, at 5:02 pm, Adrian Klaver <adrian.klaver@aklave=
r.com> wrote:
<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding:initial;padding-left:1ex;color:inherit">
<pre style=3D"display:block;font-family:monospace;white-space:pr=
e;margin:1__qem 0">On 8/6/25 11:24, suporte02@unitsistemas.com.br wrote:
>
>=20
> The executable's libpq is 32-bit, and its dependencies are correct and=
=20
> on the same architecture. In my Postgres, libpq was on a 64-bit=20
You need to give more details on what '... my Postgres ...' is?
Did you download it as package or did you build it?
In either case what was the source?
> architecture, so I downloaded the 32-bit libdll, and the error still=
=20
> persisted.
>=20
> c)"Error Message: Client-Library
> libpq.dll found but could not be loaded. Check compile-target and=20
> library compatibility!"
Looks like you are mixing 32/64 bit libraries.
--=20
Adrian Klaver
adrian.klaver@aklaver.com
</pre>
</blockquote>
</div>
------=_Part_5085768_1791521992.1754568867461--
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-07 16:03 Adrian Klaver <adrian.klaver@aklaver.com>
parent: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
0 siblings, 0 replies; 8+ messages in thread
From: Adrian Klaver @ 2025-08-07 16:03 UTC (permalink / raw)
To: suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 8/7/25 05:14, suporte02@unitsistemas.com.br wrote:
> When I say "my Postgres", I mean the Postgres 15.3 that I have installed.
>
> How about 32-bit lib.dlls? I downloaded them from Google, placed them in
> my executable folder and in the Bin and Lib folders of my Postgres 15.3,
> and then extracted the package into the folders.
>
> The link where I downloaded the 32-bit lib.dlls was this:
> https://ftp.postgresql.org/pub/odbc/versions.old/dll/
> psqlodbc_15_00_0000-x64.zip <https://ftp.postgresql.org/pub/odbc/
> versions.old/dll/psqlodbc_15_00_0000-x64.zip>
>
> I I believe so, it's a mix of 32-bit and 64-bit libraries. I just can't
> figure out how to fix it, since I already placed the 32-bit libraries in
> the Postgres Lib and Bin folders.
I would say the chances of this working, given the information provided,
is slim to none. From what I see you are trying to compile a 32 bit
executable on a 64 bit platform using miscellaneous files found on the
Internet.
Per a previous post of mine, steps to getting some direction on this
will need at minimum:
b) The configuration and compilation steps you took.
c) The complete error message.
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Libpq.dll
@ 2025-08-08 12:55 suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 0 replies; 8+ messages in thread
From: suporte02@unitsistemas.com.br @ 2025-08-08 12:55 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
------=_Part_5484909_405808530.1754657752767
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div id=3D"isPasted" fr-original-style=3D"" style=3D"user-select: inherit; =
scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing: border-bo=
x;">I managed to solve it now, it was just a connection error in one of the=
components of my Delphi, I just deleted it and put it back in <span class=
=3D"theme-emoji">=F0=9F=98=AD</span></div><div fr-original-style=3D"" style=
=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0=
000; box-sizing: border-box;"><br fr-original-style=3D"" style=3D"user-sele=
ct: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; box-sizi=
ng: border-box;"></div><div fr-original-style=3D"" style=3D"user-select: in=
herit; scrollbar-color: var(--scrollbar-active-color) #0000; box-sizing: bo=
rder-box;">but thank you all very much for your help</div><div data-signatu=
re-parent=3D"sig-parent" translate=3D"no" fr-original-style=3D"" style=3D"u=
ser-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; =
box-sizing: border-box;"><signature style=3D"display: table; width: 100%; u=
ser-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0000; =
box-sizing: border-box;" data-signature-id=3D"local-aa659722-0a65" fr-origi=
nal-style=3D"display:table;width:100%;"><div fr-original-style=3D"" style=
=3D"user-select: inherit; scrollbar-color: var(--scrollbar-active-color) #0=
000; box-sizing: border-box;"><img src=3D"https://permanent-assets-download=
.flockmail.com/signature/380445/2022-06-29_6945ac19fa79d478ec41_38302" styl=
e=3D"width: 373px; display: block; vertical-align: top; margin: 5px auto 5p=
x 0px; text-align: left; scrollbar-color: var(--scrollbar-active-color) #00=
00; border: 0px; cursor: pointer; padding: unset; user-select: none; max-wi=
dth: 100%; position: relative; box-sizing: border-box;" fr-original-style=
=3D"width: 373px; display: block; vertical-align: top; margin: 5px auto 5px=
0px; text-align: left;" fr-original-class=3D"fr-draggable fr-deletable"><b=
r fr-original-style=3D"" style=3D"user-select: inherit; scrollbar-color: va=
r(--scrollbar-active-color) #0000; box-sizing: border-box;"></div></signatu=
re></div><br fr-original-style=3D"" style=3D"user-select: inherit; scrollba=
r-color: var(--scrollbar-active-color) #0000; box-sizing: border-box;"><img=
class=3D"flm-open" width=3D"0" height=3D"0" style=3D"border:0;width:0;heig=
ht:0;" src=3D"https://us.rootserverlink.com/dc/t/mo/v2?t=3DeyJ0eXAiOiJKV1Qi=
LCJhbGciOiJIUzUxMiJ9.eyJwIjoiMTAwMiAzODA0NDUgcGdzcWwtZ2VuZXJhbEBsaXN0cy5wb3=
N0Z3Jlc3FsLm9yZyA2NDExNDIxMWE5MmQ3YzZiNmU3ZGZiYzJkNjdkNTdlNyA0MDI0NzM1ODc3N=
zE5NjU0NiAyID8iLCJleHAiOjE3NzAyMDk3NTJ9.r-DLUsPDRayfjw2KZ9hWiU2X_fNT7RAyZea=
gWxpXQFK2ABnvsAoc8LgudJE2-N0ulp9xsK7w-KAhzDY2Y7omsQ&requestId=3Dw_08125537_=
SMR_10_100_izxz"><div class=3D"fr-inner gmail_quote flockmail-quote flockma=
il-quote-id-<3165f178-8c72-470e-b21d-f1191258bc10@aklaver.com>">
<br>
<div dir=3D"ltr">
On ago 7 2025, at 1:03 pm, Adrian Klaver <adrian.klaver@aklave=
r.com> wrote:
<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding:initial;padding-left:1ex;color:inherit">
<pre style=3D"display:block;font-family:monospace;white-space:pr=
e;margin:1__qem 0">On 8/7/25 05:14, suporte02@unitsistemas.com.br wrote:
> When I say "my Postgres", I mean the Postgres 15.3 that I have install=
ed.
>=20
> How about 32-bit lib.dlls? I downloaded them from Google, placed them =
in=20
> my executable folder and in the Bin and Lib folders of my Postgres 15.=
3,=20
> and then extracted the package into the folders.
>=20
> The link where I downloaded the 32-bit lib.dlls was this:
> https://ftp.postgresql.org/pub/odbc/versions.old/dll/=20
> psqlodbc_15_00_0000-x64.zip <https://ftp.postgresql.org/pub/odbc/=
=20
> versions.old/dll/psqlodbc_15_00_0000-x64.zip>
>=20
> I I believe so, it's a mix of 32-bit and 64-bit libraries. I just can'=
t=20
> figure out how to fix it, since I already placed the 32-bit libraries =
in=20
> the Postgres Lib and Bin folders.
I would say the chances of this working, given the information provided,=20
is slim to none. From what I see you are trying to compile a 32 bit=20
executable on a 64 bit platform using miscellaneous files found on the=20
Internet.
Per a previous post of mine, steps to getting some direction on this=20
will need at minimum:
b) The configuration and compilation steps you took.
c) The complete error message.
--=20
Adrian Klaver
adrian.klaver@aklaver.com
</pre>
</blockquote>
</div>
------=_Part_5484909_405808530.1754657752767--
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2025-08-08 12:55 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-08-06 13:17 Libpq.dll suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
2025-08-06 17:46 ` Adrian Klaver <adrian.klaver@aklaver.com>
2025-08-06 19:28 ` Merlin Moncure <mmoncure@gmail.com>
2025-08-07 12:14 ` suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
2025-08-07 16:03 ` Adrian Klaver <adrian.klaver@aklaver.com>
2025-08-06 18:24 ` suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
2025-08-06 20:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
2025-08-08 12:55 ` suporte02@unitsistemas.com.br <suporte02@unitsistemas.com.br>
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