Commit 9285806
committed
Set gtest to static to fix:
[ 95%] Linking CXX executable ../../bin/ImageTests
/usr/bin/ld: ../../lib/libgtest_main.so.1.11.0: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
collect2: error: ld returned 1 exit status
make[2]: [Testing/ImageTests/CMakeFiles/ImageTests.dir/build.make:500: bin/ImageTests] Error 1
make[1]: [CMakeFiles/Makefile2:1273: Testing/ImageTests/CMakeFiles/ImageTests.dir/all] Error 2
The problem is that there is libstdc++ from conda and from the system and they don't have the same versioned symbols.1 parent 63e67eb commit 9285806
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments