Bug 118301
| Summary: | mysql_config --libs reports -L'/usr/lib/mysql' (ie, with quotes) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Vander Stichele <thomas> |
| Component: | mysql | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1 | CC: | hhorak |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:01:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This behavior seems perfectly reasonable to me, and indeed necessary in some scenarios --- consider a pathname that contains spaces. If AC_CHECK_LIB has a problem with it, I suggest you should file a bug against autoconf. Hm. I have yet to see the first project do that though :) You think it is better to start filing bugs with all upstream pkg-config using projects to start quoting their libs ? mysql is probably more sensitive to the spaces-in-pathnames issue than most projects, since they have a heavily used Windows port and spaces in pathnames are quite common on Windows. So you'd probably not get much uptake on the idea from other projects. I do not however feel a desire to second-guess the mysql project's coding. Out of curiosity, why do you say that this breaks AC_CHECK_LIB? I would not have thought that AC_CHECK_LIB knows anything at all about mysql_config. *** This bug has been marked as a duplicate of 129409 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Epiphany/1.0.4 Description of problem: I have never seen any program use quotes to pass these flags. What's more, testing for mysqlclient using AC_CHECK_LIB fails because of this. removing the quoting from mysql_config makes it work correctly again. I suggest the quotes be removed from mysql_config. Version-Release number of selected component (if applicable): mysql-3.23.58-4 How reproducible: Always Steps to Reproduce: 1. mysql_config --libs 2. 3. Additional info: