how do I remove `GLIBC_2.27' requirement at compile time?

前端 未结 3 845
感情败类
感情败类 2021-01-19 07:34

I\'ve been using a docker image for c++ compilation. It\'s based on Ubuntu 18.04. When I attempt to run on some Ubuntu 16 systems, I get this message:

/lib/x86_64-li

3条回答
  •  鱼传尺愫
    2021-01-19 08:13

    Try symbol versioning, e.g.:

    __asm__(".symver old_foo,foo@VERS_1.1");
    

    Related question: Fedora 28 / GLIBC 2.27 libm.so.6 logf() and powf() c++

提交回复
热议问题