Red Hat Bugzilla – Bug 118301
mysql_config --libs reports -L'/usr/lib/mysql' (ie, with quotes)
Last modified: 2013-07-02 23:00:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
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
I suggest the quotes be removed from mysql_config.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mysql_config --libs
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
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
*** This bug has been marked as a duplicate of 129409 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.