Problem while import bob.bio.gmm

29 views
Skip to first unread message

Milton Orlando Sarria Paja

unread,
Mar 15, 2016, 10:16:16 PM3/15/16
to bob-devel
Hello
I am trying to do the instalation with conda in CentOS 6.6

What I do is to follow the instructions in the wiki page and everything works out
Next: 
$python
>>import bob.bio.gmm

Here is where I have this error: 
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/sarria/anaconda2/envs/test_env_0/lib/python2.7/site-packages/bob.core-2.1.1a0-py2.7-linux-x86_64.egg/bob/core/_convert.so)

First thing I do is to find out the centos libc version:
$ll /lib64/libc.so.6
lrwxrwxrwx 1 root root 12 Feb 19 16:04 /lib64/libc.so.6 -> libc-2.12.so

Next, I check what is in _convert.so
$objdump -p /home/sarria/anaconda2/envs/test_env_0/lib/python2.7/site-packages/bob.core-2.1.1a0-py2.7-linux-x86_64.egg/bob/core/_convert.so
.
.
Version References:
  required from libgcc_s.so.1:
    0x0b792650 0x00 08 GCC_3.0
  required from libpthread.so.0:
    0x09691a75 0x00 07 GLIBC_2.2.5
  required from libc.so.6:
    0x06969194 0x00 09 GLIBC_2.14
    0x09691a75 0x00 03 GLIBC_2.2.5
  required from libstdc++.so.6:
    0x0297f861 0x00 06 GLIBCXX_3.4.11
    0x056bafd3 0x00 05 CXXABI_1.3
    0x02297f89 0x00 04 GLIBCXX_3.4.9
    0x08922974 0x00 02 GLIBCXX_3.4


Next, I check why this version is used:
$objdump -T /home/sarria/anaconda2/envs/test_env_0/lib/python2.7/site-packages/bob.core-2.1.1a0-py2.7-linux-x86_64.egg/bob/core/_convert.so |  fgrep GLIBC_2.14
0000000000000000      DF *UND* 0000000000000000  GLIBC_2.14  memcpy

So it seems _convert.so use GLIBC_2.14 version for memcpy function. Next I see what memcpy version of GLIBC my OS can support:
$readelf -s /lib64/libc.so.6  | grep -w memcpy
  1091: 0000003b956896a0  1125 FUNC    GLOBAL DEFAULT   12 memcpy@@GLIBC_2.2.5
  5568: 0000003b956896a0  1125 FUNC    GLOBAL DEFAULT   12 memcpy

So my question is: is there any possibility to make it compatible with Centos? 

(in any case I will ask my system administrator to see if they can install the version I need)

Thank you very much
best regards







Amir Mohammadi

unread,
Mar 16, 2016, 10:09:26 AM3/16/16
to bob-devel
Hello,

Our conda builds are done on Ubuntu 12.04 (since Travis-ci.org uses that) and they will not work with any distribution with "libc" older than that.
However, you can simply run our conda recipes and compile packages locally.
Our recipes are here:
https://github.com/bioidiap/bob.conda

Let me know if you have any more questions.

Best regards,
Amir
Reply all
Reply to author
Forward
0 new messages