From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | jian he <jian(dot)universality(at)gmail(dot)com> |
Cc: | Jelte Fennema <me(at)jeltef(dot)nl>, Dmitry Igrishin <dmitigr(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
Subject: | Re: Deleting prepared statements from libpq. |
Date: | 2023-06-18 23:31:02 |
Message-ID: | ZI+TtlI0Gfg1V1kx@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Jun 18, 2023 at 09:23:22PM +0800, jian he wrote:
> previously I cannot link it. with
> v2-0001-Support-sending-Close-messages-from-libpq.patch. now I can
> compile it, link it, but then run time error.
> same c program in the first email.
> when I run it ./a.out, then error:
> ./a.out: symbol lookup error: ./a.out: undefined symbol: PQsendClosePrepared
If you still have problems, it seems to me that one mistake is in not
updating LD_LIBRARY_PATH. It should point to a version of libpq
compiled with the patch, or -lpq will not be able to resolve correctly
when compiling your test program.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2023-06-18 23:57:17 | Re: Deleting prepared statements from libpq. |
Previous Message | Michael Paquier | 2023-06-18 23:28:43 | Re: [PATCH] hstore: Fix parsing on Mac OS X: isspace() is locale specific |