PPA with builds for eoan and focal:
https://launchpad.net/~ahasenack/+archive/ubuntu/mysql8-my-init/
Note: focal build does not have proposed enabled.
** Changed in: apr-util (Ubuntu Focal)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: apr-util (Ubuntu Focal)
** Also affects: apr-util (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: apache2 (Ubuntu)
** Changed in: apr-util (Ubuntu Eoan)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Focal)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Eoan)
Dropping that my_init() call fixed the loading of the module for me.
I'll publish a ppa for people to test.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859773
Title:
Apache DBD Auth not working w
The build logs show this:
/home/ubuntu/deb/apr-util/apr-util-1.6.1/dbd/apr_dbd_mysql.c:1267:5: warning:
implicit declaration of function ‘my_init’; did you mean ‘mysql_init’?
[-Wimplicit-function-declaration]
1267 | my_init();
| ^~~
| mysql_init
Checking the mysql 8
This is still present six weeks later in the 20.04 daily build.
Running this with strace seems to indicate that indeed the library is
successfully loaded:
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/apr-util-1/apr_dbd_mysql-1.so",
O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\
Thanks Andreas for this report. Apparently the same problem happens in
Eoan too. The minimal steps to reproduce are:
1. start a fresh LXD container
2. apt update
3. apt install apache2 libaprutil1-dbd-mysql
4. a2enmod authn_dbd (also enables the dbd module)
5. systemctl restart apache2
6. curl loc