apache24, DBDriver mysql and mysql80-client

When devel/apr1 build with Mysql support and default mysql version 5.7 - all work fine.
But when default mysql version 8.0, httpd fail to load with error:
Code:
AH00526: Syntax error on line 539 of /usr/local/etc/apache24/httpd.conf:
Can't load driver file apr_dbd_mysql.so
Code:
FreeBSD 13.2-RELEASE-p4 GENERIC amd64, Apache/2.4.58 (FreeBSD),
apr-1.7.3.1.6.3_1
Name           : apr
Version        : 1.7.3.1.6.3_1
Installed on   : Wed Oct 25 13:50:39 2023 +03
Origin         : devel/apr1
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : APACHE20 or AGPLv3
Maintainer     : [email]apache@FreeBSD.org[/email]
WWW            : [URL]https://apr.apache.org/[/URL]
Comment        : Apache Portability Library
Options        :
    BDB            : on
    BDB5           : off
    GDBM           : on
    IPV6           : off
    LDAP           : on
    MYSQL          : on
    NDBM           : off
    NSS            : off
    ODBC           : off
    PGSQL          : off
    SQLITE         : off
    SSL            : on
 
Found a few older PRs regarding apr1 and MySQL 8.0, but none of them seem to apply here (they're referencing apr1 1.6.x). This one might be useful: PR 274053
 
Found a few older PRs regarding apr1 and MySQL 8.0, but none of them seem to apply here (they're referencing apr1 1.6.x). This one might be useful: PR 274053
I think problem isn`t in apr, problem in mysql80-client, because i rename old libmysqlclient.so.20 to libmysqlclient.so.21, and it worked.

anyway thanks for link


P.S. With "DEFAULT_VERSIONS+= mysql=1011m" in make.conf (mariadb1011) work fine
 
Back
Top