I am working on developing a tool in the Linux Mint 17.2 environment that will be run primarily in CentOS 6.3. This tool is made up of several C programs called in succession by a python script.
Upon testing this build, an object was referencing GLIBC_2.14, which isn't available in CentOS 6.3. Using this post, I was able to find that the offending call was 'memcpy' referenced from GLIBC_2.14. After looking to see if there were any symbols in older versions of GLIBC that I could link against, I found that GLIBC_2.0 would work.
I then tried to link the call of memcpy with memcpy@GLIBC_2.0 using an asm call in the source code, as suggested in the above linked solution.
__asm__(".symver memcpy,memcpy@GLIBC_2.0");
However, when building this, I received an undefined reference to memcpy@GLIBC_2.0 .
I'm fairly new to this type of development. Is there something simple that I'm overlooking as to why this isn't working?