checking whether the linker accepts -znodelete... yes checking for MySQL headers... /usr/include/mysql checking for MySQL libraries... configure: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r4/work/libnss-mysql/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-developer_20190208-112056 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * emerge -qpvO sys-auth/libnss-mysql [ebuild N ] sys-auth/libnss-mysql-1.5_p20060915-r4 USE="-debug"
Created attachment 564304 [details] emerge-info.txt
Created attachment 564306 [details] emerge-history.txt
Created attachment 564308 [details] environment
Created attachment 564310 [details] etc.portage.tbz2
Created attachment 564312 [details] logs.tbz2
Created attachment 564314 [details] sys-auth:libnss-mysql-1.5_p20060915-r4:20190209-091502.log
Created attachment 564316 [details] temp.tbz2
Got same issue here. I tracked it down to the fact that i'm using a no-multilib 17.1 profile, and because the acinclude.m4 macro FIND_MYSQL does not look in /usr/lib64 for the MySQL libraries.
Created attachment 587714 [details, diff] Fix AC macro FIND_MYSQL
Created attachment 587716 [details] My emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=886944143f5d7d08a044c1a393c4254aa1279ba5 commit 886944143f5d7d08a044c1a393c4254aa1279ba5 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-18 14:39:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-22 16:49:12 +0000 sys-auth/libnss-mysql: add 1.7.1 Switch to modernized fork. Closes: https://bugs.gentoo.org/743139 Closes: https://bugs.gentoo.org/677532 Closes: https://bugs.gentoo.org/944425 Closes: https://bugs.gentoo.org/944348 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40635 Signed-off-by: Sam James <sam@gentoo.org> sys-auth/libnss-mysql/Manifest | 1 + sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild | 39 +++++++++++++++++++++++++ sys-auth/libnss-mysql/metadata.xml | 1 + 3 files changed, 41 insertions(+)