[MDEV-19481] mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' and 'GLIBCXX_3.4.21' not found Created: 2019-05-15  Updated: 2020-08-25  Resolved: 2019-08-02

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.3.15, 10.4
Fix Version/s: 10.2.26, 10.1.41, 10.3.17, 10.4.7

Type: Bug Priority: Blocker
Reporter: Christian Weiss Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None
Environment:

Red Hat Enterprise Linux Server release 7.6 (Maipo)


Issue Links:
Duplicate
duplicates MDEV-19812 mariadb-10.4.6-linux-systemd-x86_64.t... Closed
duplicates MDEV-20296 Mariadb on Red Hat 7 with systemd doe... Closed
Relates
relates to MDEV-19447 mariadb-10.3.14-linux-systemd-x86_64.... Closed

 Description   

I wanted to update from 10.3.14 to 10.3.15 community version (mariadb-10.3.15-linux-systemd-x86_64.tar.gz), but because of version mismatch mysqld won't run:

$ mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld
mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld)
mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld)
 
$ strings /lib64/libstdc++.so.6|grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH

Last "yum update" of Red Hat was March 2019.



 Comments   
Comment by Sergei Golubchik [ 2019-07-07 ]

dbart, please change your release scripts (or whatever needs to be changed) to use trusty instead of xenial for systemd bintars.

Comment by Daniel Bartholomew [ 2019-07-23 ]

I've updated my release scripts. The trusty bintar builds will be used going forward.

Comment by Daniel Bartholomew [ 2019-07-31 ]

I am using the trusty-built bintars now for the latest 10.3.17 that was just released.

cweiss Can you verify that the version mismatch is resolved?

Comment by Christian Weiss [ 2019-08-01 ]

Hereby I verified that the version mismatch is resolved.
I was able to update and start MariaDB 10.3.17 again on RHEL 7.6.

Generated at Thu Feb 08 08:52:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.