[MDEV-13615] MariaDB 10.2 client library (Debian 9/Stretch) not compatible with Perl MySQL DBI module Created: 2017-08-22 Updated: 2017-10-13 Resolved: 2017-09-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | libmariadb, Platform Debian |
| Affects Version/s: | 10.2.8 |
| Fix Version/s: | 10.2.9 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Laurent Declercq | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 7 |
| Labels: | debian | ||
| Environment: |
Debian Stretch 9.1 |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Good morning, MariaDB 10.2.8 client library as provided by the libmariadb3 package isn't compatible with the perl MySQL DBI module. There are changes made somewhere (surely in header files) that break linking: Debian 9/Stretch provides MariaDB 10.1 and therefore the perl MySQL DBI module is build against the MariaDB 10.1 client library. However, for our software, we also provide latest MariaDB 10.2 through your own repository. The problem is that when installing your libmariadb3 and libmariadbclient18 packages from your MariaDB 10.2 repository, linking for the Perl MySQL DBI module (libdbd-mysql-perl package from Debian 9/Stretch repository) is broken, resulting to the following error:
Further details:
The only way to fix the problem is to pin the libmariadbclient18 (10.1) package from Debian repository as follow:
Thank you. |
| Comments |
| Comment by Laurent Declercq [ 2017-08-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Related: https://jira.mariadb.org/projects/MDEV/issues/MDEV-13589 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Laurent Declercq [ 2017-08-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Laurent Declercq [ 2017-08-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-08-22 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks. We'll, obviously, fix that and I've just added this scenario to our CI system, so next time we'll catch and fix it before the release. Sorry for this. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, I have updated MariaDB to 10.2.9 and the issue is still not resolved. Still getting the following error:
System is already up to date:
Perl Version installed on my System:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Laurent Declercq [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Mohit Chandel This is not the same issue. Please purge and reinstall the packages. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Laurent Declercq, Thanks for Quick response. You mean I should purge Perl and MariaDB and reinstall them or any other packages should be pruged. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
By the way, I pinned the packages as detailed above and the issue was resolved for me. After I unpinned them and upgraded the system, it again appeared. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Laurent Declercq [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Mohit Chandel I'm talking about those packages: libmariadb3 and libmariadbclient18 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Laurent Declercq, Thanks, issue is resolved after purge and reinstall of libmariadb3 and libmariadbclient18. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Laurent Declercq [ 2017-10-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@mohit Chandel You're welcome |