[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-bugs
Subject: [Bacula-bugs] [bacula 0001829]: [Patch] Need to search /usr/lib/x86_64-linux-gnu for mysql libraries
From: Mantis Bug Tracker <nobody () bugs ! bacula ! org>
Date: 2012-04-19 9:51:03
Message-ID: 0de872377525f2a14879a6b5e02c1425 () bugs ! bacula ! org
[Download RAW message or body]
The following issue has been ASSIGNED.
======================================================================
http://bugs.bacula.org/view.php?id=1829
======================================================================
Reported By: smoser
Assigned To: kern
======================================================================
Project: bacula
Issue ID: 1829
Category: configure/build process
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version: 5.2.7
======================================================================
Date Submitted: 2012-02-09 19:47 GMT
Last Modified: 2012-04-19 10:51 BST
======================================================================
Summary: [Patch] Need to search /usr/lib/x86_64-linux-gnu for
mysql libraries
Description:
Ubuntu 12.04 with multiarch in an x86_64 (amd64) system, will have mysql
libraries installed in /usr/lib/x86_64-linux-gnu , and they will not be found
with --with-mysql=yes
Steps to Reproduce:
on 12.04 (precise alphas) build with configure --with-mysql=yes
Additional Information:
Patch attached
======================================================================
----------------------------------------------------------------------
(0006183) martin (reporter) - 2012-02-10 18:34
http://bugs.bacula.org/view.php?id=1829#c6183
----------------------------------------------------------------------
Presumably it should be looking the i386-linux-gnu directory for 32-bit systems.
----------------------------------------------------------------------
(0006203) smoser (reporter) - 2012-03-08 14:30
http://bugs.bacula.org/view.php?id=1829#c6203
----------------------------------------------------------------------
I've attached 'use-mysql-config-to-fine-mysql.patch' which is being used in
ubuntu now, thanks to Adam Conrad, which does a better job than my initial
'search-x86_64-linux-gnu.diff' did.
----------------------------------------------------------------------
(0006204) smoser (reporter) - 2012-03-08 14:37
http://bugs.bacula.org/view.php?id=1829#c6204
----------------------------------------------------------------------
Per Adam Conrad:
the exact same mysql_config fix can (and should) be applied about 200 lines up
in the dbi-mysql section (which we don't use, so I didn't bother).
----------------------------------------------------------------------
(0006205) martin (reporter) - 2012-03-08 16:55
http://bugs.bacula.org/view.php?id=1829#c6205
----------------------------------------------------------------------
Not all versions of mysql_config support the --variable argument (e.g. Fedora 14
mysql-5.1.60-1.fc14.x86_64). It isn't in the MySQL 5.5 doc either.
----------------------------------------------------------------------
(0006297) kern (administrator) - 2012-04-19 10:51
http://bugs.bacula.org/view.php?id=1829#c6297
----------------------------------------------------------------------
Thanks for the patches. They are both applied to version 5.2.7. One was
modified slightly to make it compatible with /bin/sh.
Please note that the dbi-mysql code is now depreciated, so I didn't bother
either :-)
For the --variable argument, if it doesn't work right, hopefully users can fall
back to manually specifying the right path. Going forward the only sane way for
developers is to rely on tools like "mysql_config".
Issue History
Date Modified Username Field Change
======================================================================
2012-02-09 19:47 smoser New Issue
2012-02-09 19:47 smoser File Added: search-x86_64-linux-gnu.diff
2012-02-10 18:34 martin Note Added: 0006183
2012-03-08 14:29 smoser File Added: use-mysql-config-to-fine-mysql.patch
2012-03-08 14:30 smoser Note Added: 0006203
2012-03-08 14:37 smoser Note Added: 0006204
2012-03-08 16:55 martin Note Added: 0006205
2012-04-19 10:22 kern Summary Need to search
/usr/lib/x86_64-linux-gnu for mysql libraries => [Patch] Need to search
/usr/lib/x86_64-linux-gnu for mysql libraries
2012-04-19 10:51 kern Note Added: 0006297
2012-04-19 10:51 kern Assigned To => kern
2012-04-19 10:51 kern Status new => closed
2012-04-19 10:51 kern Resolution open => fixed
2012-04-19 10:51 kern Fixed in Version => 5.2.7
======================================================================
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-bugs mailing list
Bacula-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic