Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking problem when compelling untwine from source. #130

Closed
zexhuang opened this issue Sep 1, 2022 · 1 comment
Closed

Linking problem when compelling untwine from source. #130

zexhuang opened this issue Sep 1, 2022 · 1 comment

Comments

@zexhuang
Copy link

zexhuang commented Sep 1, 2022

Dear developers,

I encounter this issue when i build untwine from source, following the build instruction:

[ 2%] Linking CXX executable untwine
/usr/bin/ld: /home/ubuntu/anaconda3/envs/budjbim2/lib/libpdal_base.so.14.2.0: undefined reference to `std::condition_variable::wait(std::unique_lockstd::mutex&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/untwine.dir/build.make:566: untwine] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/untwine.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

OS:
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"

I installed padal and python-pdal via conda:
python-pdal version 3.1.2
pdal version 2.4.2

I check the libpda_base.so, but seems like it points to this lib:
ldd libpdal_base.so | grep curl
libcurl.so.4 => /home/ubuntu/anaconda3/envs/budjbim2/lib/././libcurl.so.4 (0x00007fc7c693d000)

Any help and suggestion?
Many Thanks!

@hobu
Copy link
Collaborator

hobu commented Sep 1, 2022

Use the conda-forge compilers package too. The compiler you are using is missing a symbol in its glibcxx.

conda install -c conda-forge compilers

@hobu hobu closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants