problem
Copy the existing workspace to the local modified code for compilation, and report an error when encountering opencv related dependencies
libopencvxxx.so ... undefined reference to `log@GLIBC_2.29'
Solution:
The original computer compiles the workspace normally, eliminates the problem of the code itself, and starts to find dependencies
After careful comparison, it is found that my environment Ubuntu 18.04 has built-in gcc7.5, and the target environment Ubuntu 20.04 has built-in gcc9.3
libopencv.So
compiles the source code of the target machine, so it depends on the high version of glibc. Delete opencv and the error will disappear after local recompilation.
Similar Posts:
- Solve the source code compilation error m of Ubuntu 16.04 + opencv4.1 akefile:160 : recipe for target ‘all’ failed
- /lib64/libc.so.6: version `GLIBC_2.14′ not found [How to Solve]
- linux:/lib/libc.so.6: version `glibc_2.7′ not foun
- ImportError: /lib64/libc.so.6: version `GLIBC_2.17′ problem solved
- [Solved] Lego-loam Error: opencv fatal error: cv.h: No such file or directory
- Centos6 upgrades glibc-2.17 to solve requirements: libc. So. 6 (glibc)_ 2.14) (64bit) error resolution
- Configure: error: no acceptable C compiler found in $PATH [How to Solve]
- Makefile:160: recipe for target ‘all’ failed (Ubuntu 16.06 + Opencv3.2) [Solved]
- CentOS6 /lib64/libc.so.6: version `GLIBC’2.14′ not found
- [Solved] Ubuntu 18.04 Compile opencv-3.4.16 Error: “c++: internal compiler error: Killed (program cc1plus)”