aimet icon indicating copy to clipboard operation
aimet copied to clipboard

GLIBC_2.27 not found

Open leo19850812 opened this issue 3 years ago • 3 comments

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 avatar Sep 28 '21 10:09 leo19850812

@leo19850812 Thanks for reporting the issue. @quic-bharathr could you please take a look.

quic-ssiddego avatar Oct 05 '21 17:10 quic-ssiddego

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 avatar Oct 05 '21 18:10 quic-bharathr

@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 ) )

sunzhe09 avatar Nov 09 '21 12:11 sunzhe09

Closing this issue due to inactivity. Please re-open it/ create a new issue if you need further help.

quic-mangal avatar Apr 04 '23 16:04 quic-mangal