Bug 118301 - mysql_config --libs reports -L'/usr/lib/mysql' (ie, with quotes)
Summary: mysql_config --libs reports -L'/usr/lib/mysql' (ie, with quotes)
Keywords:
Status: CLOSED DUPLICATE of bug 129409
Alias: None
Product: Fedora
Classification: Fedora
Component: mysql
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom Lane
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-15 12:12 UTC by Thomas Vander Stichele
Modified: 2013-07-03 03:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:01:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas Vander Stichele 2004-03-15 12:12:18 UTC
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:

Comment 1 Tom Lane 2004-03-15 15:30:41 UTC
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.

Comment 2 Thomas Vander Stichele 2004-03-15 15:35:53 UTC
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 ?

Comment 3 Tom Lane 2004-03-15 16:14:03 UTC
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.

Comment 4 Tom Lane 2004-12-09 02:06:58 UTC

*** This bug has been marked as a duplicate of 129409 ***

Comment 5 Red Hat Bugzilla 2006-02-21 19:01:59 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.