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

Docker Image pdal/pdal - `GLIBCXX_3.4.26' not found #3375

Closed
greyeagle opened this issue Feb 25, 2021 · 2 comments · Fixed by #3399
Closed

Docker Image pdal/pdal - `GLIBCXX_3.4.26' not found #3375

greyeagle opened this issue Feb 25, 2021 · 2 comments · Fixed by #3399
Labels
Milestone

Comments

@greyeagle
Copy link

greyeagle commented Feb 25, 2021

Missing lib (version issue) in Docker image

  • Environment:
    I am running docker on Ubuntu 20.04 LTS. I pulled the newest pdal/pdal docker image from [https://hub.docker.com/r/pdal/pdal]

  • Issue
    On trying pdal --version inside the docker bash shell I get
    pdal: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by /usr/lib/./libdap.so.25)`

  • Tried resolves
    apt install libstdc++

  • Result
    libstdc++6 is already the newest version (8.4.0-1ubuntu1~18.04)

I asked the pdal mailing list with no success so I assume this is a bug in the docker image maintained by pdal.

If this is not the right place to post this issue please advise.

@Kanahiro
Copy link

Kanahiro commented Feb 27, 2021

I have encountered same problem and found a workaround as following.

  1. pull image and build container
docker pull pdal/pdal
docker run -it pdal/pdal

At this point, any pdal commands failed with GLIBCXX_3.4.26' not found.

  1. update and upgrade
sudo apt update -y
sudo apt upgrade -y
  1. install software-properties-common
sudo apt-get install software-properties-common
  1. add a repository
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  1. update and upgrade again
sudo apt update -y
sudo apt upgrade -y
  1. run pdal
pdal --version

hobu added a commit that referenced this issue Mar 31, 2021
@hobu hobu closed this as completed in #3399 Apr 1, 2021
hobu added a commit that referenced this issue Apr 1, 2021
* Fix up docker configuration issues #3375

* updates
@hobu hobu added this to the 2.3 milestone Apr 1, 2021
@hobu hobu added the bug label Apr 1, 2021
@hobu
Copy link
Member

hobu commented Apr 1, 2021

Fixed in #3399

hobu added a commit that referenced this issue Apr 2, 2021
* Fix up docker configuration issues #3375

* updates

* install PDAL into CONDA_PREFIX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants