potree / CPotree

Potree Utilities
Other
35 stars 25 forks source link

GLIBCXX_3.4.26 seems required but it is not in libstdc++.so.6 (the latest available is GLIBCXX_3.4.25), how to tackle this? #7

Open nicolas-sitylb opened 3 years ago

nicolas-sitylb commented 3 years ago

Hi Markus,

I am unable to run CPotree after having installed the Intel TBB library (libtbb-dev) along with the standard C++ library in its latest version (libstdc++-8-dev) in Debian Buster (Dockerized).

Here is the command and the error message that I got:

root@01234:/app# extract_profile data/2525_1185.las -o output/ --coordinates "{2525800,2011700},{2525900,2011800}" --width 10 --min-level 0 --max-level 5

Error is as follow:

extract_profile: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by extract_profile) 

After exploring libstdc++.so.6, I've seen that GLIBCXX_3.4.26 is not there:

root@01234:/app# strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_DEBUG_MESSAGE_LENGTH  

Any hint on that? Do you rely on precompiled C++ standard lib?
Would it be possible to rely on the latest GLIBCXX_3.4.25 available in libstdc++.so.6?

Thanks a lot! Best Regards.