golang调用c++代码出现undefined reference to symbol ‘XX@@GLIBC_2.2.5‘
golang调用C++代码时,部分实现的底层函数,floor, log,exp等出现异常,如下 /usr/bin/ld: xxxxx.a: undefined reference to symbol 'floor@@GLIBC_2.2.5' /usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so t…