/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found

Hello,

since today seafile doens’t start:

/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libccnet.so.0)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libsqlite3.so.0) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libssl.so.10)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.17' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libssl.so.10) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libcrypto.so.10)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.17' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libcrypto.so.10) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libevent-2.0.so.5)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.15' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libevent-2.0.so.5) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libevent-2.0.so.5)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libsearpc.so.1) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libgio-2.0.so.0)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libgobject-2.0.so.0) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libglib-2.0.so.0)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.15' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libglib-2.0.so.0) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libglib-2.0.so.0)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libjansson.so.4) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libz.so.1)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libgssapi_krb5.so.2) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libkrb5.so.3)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.16' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libkrb5.so.3) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libcom_err.so.2)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libk5crypto.so.3) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libffi.so.6)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libpcre.so.1) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.15’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libmount.so.1)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libmount.so.1) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libmount.so.1)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libkrb5support.so.0) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libkeyutils.so.1)
/home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libblkid.so.1) /home/mario/haiwen/seafile-server-6.2.3/seafile/bin/seafile-controller: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17’ not found (required by /home/mario/haiwen/seafile-server-6.2.3/seafile/lib/libblkid.so.1)

LC_ALL is not set in ENV, set to en_US.UTF-8

Warning: seafile-controller not running. Have you run “./seafile.sh start” ?


Seems a new version of glibc was installed via apt-get update. System is Debian 7.

Any solution?

As you suggest, the Seafile libraries were compiled against an older version of glibc. Not sure how to go about fixing this. I’d imagine it would require you to recompile the libraries against the new version of libc.

Try this

ls -l /lib/x86_64-linux-gnu/ | grep "libc"

Do you have there file libc.so.6 -> libc-*.**.so?

-rwxr-xr-x 1 root root 1607696 Jun 19 21:21 libc-2.13.so
lrwxrwxrwx 1 root root 14 Aug 11 2012 libcap.so.2 -> libcap.so.2.22
-rw-r–r-- 1 root root 17112 Aug 11 2012 libcap.so.2.22
-rw-r–r-- 1 root root 190840 Jun 19 21:21 libcidn-2.13.so
lrwxrwxrwx 1 root root 15 Jun 19 21:21 libcidn.so.1 -> libcidn-2.13.so
lrwxrwxrwx 1 root root 17 Feb 22 2015 libcom_err.so.2 -> libcom_err.so.2.1
-rw-r–r-- 1 root root 14672 Feb 22 2015 libcom_err.so.2.1
-rw-r–r-- 1 root root 35104 Jun 19 21:21 libcrypt-2.13.so
lrwxrwxrwx 1 root root 16 Jun 19 21:21 libcrypt.so.1 -> libcrypt-2.13.so
lrwxrwxrwx 1 root root 12 Jun 19 21:21 libc.so.6 -> libc-2.13.so

This actually looks like the installed version is older than the required one. The easiest likely would be to upgrade to at least debian jessie.

a simple upgrade is not easy, many services running on this box. it’s a way to upgrade only libc6 like backports or something else?

I think that will be much harder than upgrading but I could be wrong.

It looks like it could be possible. See https://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host

@shoeper seems right this line is problem lrwxrwxrwx 1 root root 12 Jun 19 21:21 libc.so.6 -> libc-2.13.so as you can see you have installed libc-2.13 but your logs saying that seafile requesting for libc-2.17.

As @shoeper said Upgrade to Jessie cause Wheezy support ending in May. And I think only OS upgrade will solve your problem.