Download it now!
Bug 45652 - error in Incorrect detection mysqlcppconn (MySQL c++ connector)
Summary: error in Incorrect detection mysqlcppconn (MySQL c++ connector)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Master old -3.6
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
Depends on:
Reported: 2012-02-05 04:44 UTC by triod
Modified: 2013-02-23 07:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

my configure parameters for build libreoffice (1.27 KB, application/x-shellscript)
2012-02-05 04:44 UTC, triod

Note You need to log in before you can comment on or make changes to this bug.
Description triod 2012-02-05 04:44:39 UTC
Created attachment 56623 [details]
my configure parameters for build libreoffice

On my system (Gentoo AMD64) installed:

*  dev-db/mysql-connector-c++
      Latest version available: 1.1.0-r1
      Latest version installed: 1.1.0-r1
      Size of files: 456 kB
      Description:   MySQL database connector for C++ (mimics JDBC 4.0 API)
      License:       GPL-2

./ fails with this err..

checking whether to build the MySQL Connector extension... yes
checking for MySQL prerequisites... external MySQL
checking for mysql_config... /usr/bin/mysql_config
checking MySQL version... OK
checking for MySQL Client library... includes -I/usr/include/mysql, libraries -Wl,-O1 -Wl,--as-needed -rdynamic -L/usr/lib64/mysql -lmysqlclient -L/usr//lib64 -lz -lcrypt -lnsl -lm -L/usr/lib64/ -lssl -lcrypto
checking MySQL Connector/C++... external
checking mysql_driver.h usability... yes
checking mysql_driver.h presence... yes
checking for mysql_driver.h... yes
checking for main in -lmysqlcppconn... yes
checking version... configure: error: not suitable, we need >= 1.0.6
Error running configure at ./ line 157.
Comment 1 sasha.libreoffice 2012-05-15 04:01:46 UTC
Thanks for bugreport
Please, verify if in last version of LibreOffice still reproducible
Comment 2 Alex Thurgood 2012-07-19 16:35:17 UTC
I don't use mysqlcppconn to build on Mac or Linux, but use the libmysqlconnector C library instead, as I couldn't get it to build with CPP either on Ubuntu.

Comment 3 Alex Thurgood 2012-07-19 16:38:33 UTC
Oh and disable system-mysql and use the --with-libmysql-path switch instead

Comment 4 Alex Thurgood 2013-02-22 08:36:09 UTC
@triod : Does this now work for you ?
Comment 5 triod 2013-02-22 21:57:48 UTC
Fixed, thanks. Sorry for delay....
Comment 6 sasha.libreoffice 2013-02-23 07:30:44 UTC
Thanks for additional testing
Changing to WFM