Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677532 - sys-auth/libnss-mysql-1.5_p20060915-r4 : checking for MySQL libraries... configure: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR
Summary: sys-auth/libnss-mysql-1.5_p20060915-r4 : checking for MySQL libraries... conf...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-09 09:24 UTC by Toralf Förster
Modified: 2019-08-20 20:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2019-02-09 09:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.73 KB, text/plain)
2019-02-09 09:24 UTC, Toralf Förster
Details
environment (environment,56.78 KB, text/plain)
2019-02-09 09:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.96 KB, application/x-bzip)
2019-02-09 09:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.52 KB, application/x-bzip)
2019-02-09 09:25 UTC, Toralf Förster
Details
sys-auth:libnss-mysql-1.5_p20060915-r4:20190209-091502.log (sys-auth:libnss-mysql-1.5_p20060915-r4:20190209-091502.log,9.07 KB, text/plain)
2019-02-09 09:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.08 KB, application/x-bzip)
2019-02-09 09:25 UTC, Toralf Förster
Details
Fix AC macro FIND_MYSQL (libnss-mysql-1.5_p20060915-fix-lib-prefix.patch,659 bytes, patch)
2019-08-20 20:19 UTC, Blakawk
Details | Diff
My emerge --info (file_677532.txt,5.75 KB, text/plain)
2019-08-20 20:24 UTC, Blakawk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-09 09:24:48 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-02-09 09:24:50 UTC
Created attachment 564304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-09 09:24:53 UTC
Created attachment 564306 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-09 09:24:56 UTC
Created attachment 564308 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-09 09:24:59 UTC
Created attachment 564310 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-09 09:25:03 UTC
Created attachment 564312 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-09 09:25:06 UTC
Created attachment 564314 [details]
sys-auth:libnss-mysql-1.5_p20060915-r4:20190209-091502.log
Comment 7 Toralf Förster gentoo-dev 2019-02-09 09:25:09 UTC
Created attachment 564316 [details]
temp.tbz2
Comment 8 Blakawk 2019-08-20 20:17:35 UTC
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.
Comment 9 Blakawk 2019-08-20 20:19:31 UTC
Created attachment 587714 [details, diff]
Fix AC macro FIND_MYSQL
Comment 10 Blakawk 2019-08-20 20:24:14 UTC
Created attachment 587716 [details]
My emerge --info