[Bug 239936] www/mod_auth_mysql_another: fix if linked with mariadb

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 18 09:55:34 UTC 2019


            Bug ID: 239936
           Summary: www/mod_auth_mysql_another: fix if linked with mariadb
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache at FreeBSD.org
          Reporter: pi at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)
          Assignee: apache at FreeBSD.org

Created attachment 206654
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206654&action=edit

if the system uses mariadb, this error comes up:

httpd: Syntax error on line 88 of /usr/local/etc/apache24/httpd.conf:           
Cannot load /usr/local/libexec/apache24/mod_auth_mysql.so into server:          
/usr/local/libexec/apache24/mod_auth_mysql.so: Undefined symbol                 

The patch fixes this, run-tested, but I have not find a clean way to
detect if the database in use is maria or mysql.

Any ideas ?

I tested with the #ifndef MYSQL_PORT, but this did not work.

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

More information about the freebsd-apache mailing list