Обсуждение: postgresql 16beta1-alpine3.18 : build plugin , VARSIZE_ANY_EXHDR: symbol not found

Поиск
Список
Период
Сортировка

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

От
"xxai.art"
Дата:
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 ?