pg_citus extension error

From: ft <ml_at_ft-c.de>
Date: Fri, 16 Jun 2023 04:47:25 UTC
Hello, 

A postgresql database v14 is running in a jail.
I installed pg_citus with portupgrade: no error messages

I get an error, 
(1). when I create extension citus; or
(2). when I change shared_preload_libraries and restart the database

(1)
errormessage:
SQL Error [58P01]: ERROR: could not load library
"/usr/local/lib/postgresql/citus.so": /usr/local/lib/libcurl.so.4:
Undefined symbol
"nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation"

(2)
when I set the value in postgresql.conf
shared_preload_libraries = 'citus'
and restart, then I get the error-message
service postgresql restart
2023-06-16 06:26:19.909 CEST [31451] FATAL:  could not load library
"/usr/local/lib/postgresql/citus.so": /usr/local/lib/libcurl.so.4:
 Undefined symbol
"nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation"

Here some information:
ls -l /usr/local/lib/libcurl*
-rw-r--r-- 1 1509404 May 25 03:14 libcurl.a
lrwxr-xr-x 1 16 May 25 03:14 libcurl.so -> libcurl.so.4.8.0
lrwxr-xr-x 1 16 May 25 03:14 libcurl.so.4 -> libcurl.so.4.8.0
-rwxr-xr-x 1 706112 May 25 03:14 libcurl.so.4.8.0

ls -l /usr/local/lib/postgresql/citus.so
-rwxr-xr-x 1 1711040 Jun 15 22:52 citus.so
(all with root wheel)

portversion 11.3.0

Do you need more information?

Franz