[Bug 259530] mail/postfix: Undefined symbol "dict_mysql_open"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Oct 2021 15:58:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259530

            Bug ID: 259530
           Summary: mail/postfix: Undefined symbol "dict_mysql_open"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: yani@pi-greece.eu
          Assignee: otis@FreeBSD.org
             Flags: maintainer-feedback?(otis@FreeBSD.org)

Hi,

I'm getting the following error when starting postfix, when compiled with the
MYSQL option.

Oct 29 11:52:09 megaserver postfix/postfix-script[15456]: starting the Postfix
mail system
Oct 29 11:52:09 megaserver postfix/master[15458]: daemon started -- version
3.6.2, configuration /usr/local/etc/postfix
Oct 29 11:52:09 megaserver postfix/proxymap[15461]: fatal:
load_library_symbols: dlsym failure looking up dict_mysql_open in
/usr/local/lib/postfix/postfix-mysql.so: Undefined symbol "dict_mysql_open"
Oct 29 11:52:10 megaserver postfix/qmgr[15460]: warning: dict_proxy_open:
service proxymap: Application error
Oct 29 11:52:10 megaserver postfix/master[15458]: warning: process
/usr/local/libexec/postfix/proxymap pid 15461 exit status 1

postfix-mysql.so seems to be correctly linked to libmysqlclient.so:

ldd /usr/local/lib/postfix/postfix-mysql.so
/usr/local/lib/postfix/postfix-mysql.so:
        libmysqlclient.so.20 => /usr/local/lib/mysql/libmysqlclient.so.20
(0x800e00000)
        libz.so.6 => /lib/libz.so.6 (0x80067f000)
        libm.so.5 => /lib/libm.so.5 (0x80069b000)
        libc.so.7 => /lib/libc.so.7 (0x80024e000)
        libssl.so.111 => /usr/lib/libssl.so.111 (0x8006cd000)
        libcrypto.so.111 => /lib/libcrypto.so.111 (0x8011d2000)
        librt.so.1 => /usr/lib/librt.so.1 (0x800771000)
        libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x80077a000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x8014c4000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x800780000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8007a2000)
        libthr.so.3 => /lib/libthr.so.3 (0x8007bc000)
        libelf.so.2 => /lib/libelf.so.2 (0x801591000)

uname -a

FreeBSD megaserver.pi-greece.eu 12.2-RELEASE-p10 FreeBSD 12.2-RELEASE-p10
12803d8a9(releng/12.2) MEGASERVER12  amd64

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.