When compiling linux dynamic library references, approach the newspaper GLIBC_2,14 not found

This error is usually cited its libc.so, which contains a higher version of the function results.

View and solutions:

objdump -p ./libdmapi.so

display:

version References:

...

required from libc.so.6:

    0x213424 0x00 08 GLIBC_2.14

==>

nm ./libdmapi.so |grep GLIBC_2.14

display:

memcpy@@GLIBC_2.14

memcpy@@GLIBC_2.2.2

===》

In the c file __asm ​​__ ( ". Symver memcpy, memcpy@GLIBC_2.2.2")

 

 

 

1. recompiling the library files you need.

2.

Guess you like

Origin www.cnblogs.com/jfqy/p/11817992.html