GLIBC_2.14 not found

   21815   10   0
User Avatar
Member
201 posts
Joined: Jan. 2013
Online
I installed Houdini 13.0.198.21 linux_x86_64_gcc4.6.tar.gz, but when you start Houdini got the following error for many files *. So

/ opt/hfs13.0.198.21/bin/houdinifx-bin: / lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14 ‘ not found … or version `GLIBC_2.15 ’

How do I fix a “version` GLIBC_2.14/2.15 'not found ”error?

Debian GNU/Linux 7.1 (wheezy)
User Avatar
Member
7714 posts
Joined: July 2005
Offline
If you run “gcc –version”, what do you get?
User Avatar
Member
201 posts
Joined: Jan. 2013
Online
edward
If you run “gcc –version”, what do you get?

Get the following: gcc (Debian 4.7.2-5) 4.7.2, but I also have a compiler gcc-4.6
User Avatar
Member
7714 posts
Joined: July 2005
Offline
Ah actually, the problem is because the gcc4.6 build is done on Ubuntu Precise which builds with gcc 4.6 and glibc 2.15. However, Debian Wheezy uses gcc 4.7 and glibc 2.13.

So I guess you have two choices:

1. Use the gcc4.4 build instead which uses a really old version of glibc. However, you probably won't be able to do HDK stuff on this.

2. Or alternatively, install the glibc that Debian Jessie (testing) is using. I'm not sure offhand how to do this but here's the first google link I found: http://linuxaria.com/howto/how-to-install-a-single-package-from-debian-sid-or-debian-testing [linuxaria.com] (see also the outdated answer from http://stackoverflow.com/questions/10863613/how-to-upgrade-glibc-from-version-2-13-to-2-15-on-debian [stackoverflow.com] )
User Avatar
Member
201 posts
Joined: Jan. 2013
Online
Thanks, edward! Yes, probably will have to use gcc4.4, but the situation is compiling plugins HDK saddens me.
User Avatar
Member
7714 posts
Joined: July 2005
Offline
Oh well. Seems like it should be easy to install the newer libc from testing though. <shrugs> I'm not responsible if your system doesn't boot anymore.
User Avatar
Staff
4159 posts
Joined: Sept. 2007
Offline
For anyone other's who need a newer glibc under Wheezy, I had no problems (so far) installing it from Jessie in my setup.

I roughly followed these instructions (http://linuxaria.com/howto/how-to-install-a-single-package-from-debian-sid-or-debian-testing?lang=en [linuxaria.com]), though I ignored anything to do with sid, and just added Jessie to my list.

This is what my /etc/apt/preferences file looks like:
Package: *
Pin: release n=wheezy
Pin-Priority: 700

Package: *
Pin: release n=wheezy-backports
Pin-Priority: 650


Package: *
Pin: release n=jessie
Pin-Priority: 100


And my update to libc6 and libc6-dev pushed them to 2.18, and everything is working so far.

*edited with correct preferences*
Edited by - March 11, 2014 01:13:19
I'm o.d.d.
User Avatar
Member
7714 posts
Joined: July 2005
Offline
Thanks for taking the time to mention this, goldleaf! I'm sure this will help others in this big vast Linux world.
User Avatar
Staff
4159 posts
Joined: Sept. 2007
Offline
No problem!
I'm o.d.d.
User Avatar
Member
12 posts
Joined: July 2013
Offline
Dont mix repos,sooner or later you will end with conflicts
The safer way its to make a wrapper script

http://crunchbang.org/forums/viewtopic.php?id=33349 [crunchbang.org]
User Avatar
Staff
4159 posts
Joined: Sept. 2007
Offline
Jorge's advice is the way to go. I didn't hit problems until I tried to setup Hqueue on my crunchbang machine - a few packages conflict with the libc6 version from jessie.

Thanks for posting that link!
I'm o.d.d.
  • Quick Links