aimet
aimet copied to clipboard
GLIBC_2.27 not found
When I run examples of torch model channel pruning, I got this error. ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib/python3.6/dist-packages/aimet_common/x86_64-linux-gnu/libpymo.so)
I installed aimet of version 1.17.0-cp36-cpu on Ubuntu 16.04 LTS. Why it reported that error?
@leo19850812 Thanks for reporting the issue. @quic-bharathr could you please take a look.
Hi @leo19850812,
Apologies for the delayed reply. It is possible that your glibc installation is incompatible. Could you please verify your glibc version and installation as follows?
$ ldd --version
$ cat `gcc -print-file-name=libc.so`
Also can you please try running it in a Ubuntu 18.04 environment or Docker container. If you want to build a compatible docker image, the instructions are here: https://github.com/quic/aimet/blob/develop/packaging/docker_install.md#docker-information
@quic-bharathr i met the same problem,ldd show my GLIBC is 2.23
/* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf64-x86-64) GROUP ( /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a AS_NEEDED ( /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ) )
Closing this issue due to inactivity. Please re-open it/ create a new issue if you need further help.