postgresql 16beta1-alpine3.18 : build plugin , VARSIZE_ANY_EXHDR: symbol not found - Mailing list pgsql-general

From xxai.art
Subject postgresql 16beta1-alpine3.18 : build plugin , VARSIZE_ANY_EXHDR: symbol not found
Date
Msg-id CACPrSfTWCf+Wj-yubH4LRmTMXzesW4Y6nuk2=SmFg3h7w-wpmg@mail.gmail.com
Whole thread Raw
List pgsql-general
this is my dockerfile
https://github.com/wactax/ops.docker/blob/main/Dockerfile/postgres/Dockerfile

I build some simple plugin for postgresql

when I  FROM postgres:15-alpine AS pg , everything is ok

when I use

FROM postgres:16beta1-alpine3.18 AS pg

and CREATE EXTENSION IF NOT EXISTS md5hash;

error happened

Error:could not load library "/usr/local/lib/postgresql/md5hash.so":
Error relocating /usr/local/lib/postgresql/md5hash.so:
VARSIZE_ANY_EXHDR: symbol not found ERROR: could not load library
"/usr/local/lib/postgresql/md5hash.so": Error relocating
/usr/local/lib/postgresql/md5hash.so: VARSIZE_ANY_EXHDR: symbol not
found SQL status: 58P01

how to fix this ?



pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Catalog for LISTEN'ed to notification channels?
Next
From: Tom Lane
Date:
Subject: Re: Catalog for LISTEN'ed to notification channels?