CustomBuild MySQL 5.6 Issue

guidomallee

Verified User
Joined
Jun 7, 2013
Messages
15
Hello,

Today I tried to upgrade MySQL from 5.5 to 5.6 with custombuild 2R5. After that I couldn't manage to start MySQL. My MySQL error log shows:

Code:
/usr/local/mysql/bin/mysqld: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/mysql/bin/mysqld)
130715 23:33:11 mysqld_safe mysqld from pid file /usr/local/mysql/data/server1.pid ended
130715 23:33:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data

I'm on Debian 6 by the way. If anyone could help I'd appreciate!
 
Please try:
Code:
apt-get install libstdc++6

And post the output of:
Code:
strings /usr/lib/libstdc++.so.6 | grep GLIBC
 
Output of first instruction:

Code:
no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.

Output of second instruction:

Code:
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
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
 
I have the same issue with Debian 6:

Output of first instruction:
Leyendo lista de paquetes... Hecho
Creando Árbol de dependencias
Leyendo la información de estado... Hecho
libstdc++6 ya está en su versión más reciente

Output of second instruction:
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
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
 
CustomBuild 2.0 uses a incompatibele build of MySQL. It should replace it with the glibc 2.5 build which also works with older versions of glibc (used in Debian 6).
 
Hello,

Since the binaries are not going to work for both Debian 6 and 7.. (one or the other), I've added a custombuild option for the case that you're running Debian 6.. or just want to force a fresh compile anyway.

This new value can be set in your options.conf:
Code:
force_mysql_compile=yes
which will tell the build script to skip the download attempt on the tar.gz file. Since it won't exist, the script will then attempt to compile it, which would bypass the library linking issues, since it's compiled on the local box.

This has been added to CustomBuild 2.0 on files1. It should rsync to the other mirrors within 24 hours.

John
 
Back
Top