postgresql 16beta1-alpine3.18 : build plugin , VARSIZE_ANY_EXHDR: symbol not found

From: "xxai(dot)art" <i(at)xxai(dot)art>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: postgresql 16beta1-alpine3.18 : build plugin , VARSIZE_ANY_EXHDR: symbol not found
Date: 2023-06-22 10:18:00
Message-ID: CACPrSfTWCf+Wj-yubH4LRmTMXzesW4Y6nuk2=SmFg3h7w-wpmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 ?

Browse pgsql-general by date

  From Date Subject
Next Message shveta malik 2023-06-22 10:45:19 Re: Support logical replication of DDLs
Previous Message Dominique Devienne 2023-06-22 08:22:41 Catalog for LISTEN'ed to notification channels?