postfix-pcre: /usr/lib/postfix/postfix-pcre.so: pcre2_get_error_message_8: symbol not found
Hello,
Since new version of postfix 3.7, the build for PCRE support has changed.
"CCARGS=-DHAS_PCRE=2 `pcre2-config --cflags`" \
"AUXLIBS_PCRE=`pcre2-config --libs`"
postfix documentation PCRE support
I saw the changes here :
- https://git.alpinelinux.org/aports/tree/main/postfix/APKBUILD#n71
- https://git.alpinelinux.org/aports/tree/main/postfix/APKBUILD#n110
When we use pcre mapping with postmap or other postfix commands we can see in error logfile :
postfix/postmap[682]: fatal: load_library_symbols: dlopen failure loading /usr/lib/postfix/postfix-pcre.so: Error relocating /usr/lib/postfix/postfix-pcre.so: pcre2_get_error_message_8: symbol not found
So, maybe pcre2_get_error_message_8
is provided by pcre2-10.39-r0
(usr/lib/libpcre2-8.so.0) and not libpcre2-32-10.39-r0
.
Could you help me to investigate this issue ?
Regards,
Edited by Alex Xu (Hello71)