I use the example in this page ,but got error

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: quhan(at)web(dot)de
Subject: I use the example in this page ,but got error
Date: 2024-09-18 12:29:38
Message-ID: 172666257818.1128083.7258435421921673482@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/xfunc-c.html
Description:

quhan(at)khan1-3 build % clang -shared -fPIC -o libpqtxt.dylib ../src/*.c
-I/Library/PostgreSQL/17/include/postgresql/server
-I/Library/PostgreSQL/17/include -L/Library/PostgreSQL/17/lib -lpq
-lpgcommon -lpgport -lintl -lzstd -llz4 -lxslt -lxml2 -lpam -lssl -lcrypto
-lgssapi_krb5 -lz -lreadline -lm
ld: Undefined symbols:
_pg_detoast_datum_packed, referenced from:
_concat_text in qdf2txt-pgsql-7fefa5.o
_concat_text in qdf2txt-pgsql-7fefa5.o
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2024-09-18 14:16:58 Re: No details on how to use Hash partitions: no example, no syntax
Previous Message Peter Eisentraut 2024-09-18 07:22:02 Re: Elaborate on phrase "table metadata" in the Notes section of ALTER by specifying pg_attribute