[Bug 280598] databases/mysql80-server: Undefined symbol "_ZN6google8protobuf2io19Zer oCopyInputStream8ReadCordEPN4absl12lts_202308 024CordEi"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Aug 2024 18:57:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280598

            Bug ID: 280598
           Summary: databases/mysql80-server: Undefined symbol
                    "_ZN6google8protobuf2io19ZeroCopyInputStream8ReadCordE
                    PN4absl12lts_202308024CordEi"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: john@saltant.com
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

MySQL 8.0.39 fails to start on FreeBSD 14.1R, with no sign from the RC script
that it has failed, logging this error:

    ld-elf.so.1: /usr/local/libexec/mysqld: Undefined symbol
"_ZN6google8protobuf2io19ZeroCopyInputStream8ReadCordEPN4absl12lts_202308024CordEi"


The output of

    ldd /usr/local/libexec/mysqld

includes this linkage:

    libprotobuf-lite.so.24.4.0 => /usr/local/lib/libprotobuf-lite.so.24.4.0
(0x3fe81b9ab000)


That library is installed by devel/protobuf (24.4,1), which is an indirect
dependency (in my case) of dns/bind-tools (9.18.28).

When I remove devel/protobuf, the mysql-server service starts successfully. The
linkage is now:

    libprotobuf-lite.so.24.4.0 =>
/usr/local/libexec/../lib/mysql/private/libprotobuf-lite.so.24.4.0
(0x163cbe2b2000)

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