Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Not able to use curl inside image #267

Open
anuragagarwal561994 opened this issue Jan 31, 2018 · 4 comments
Open

Not able to use curl inside image #267

anuragagarwal561994 opened this issue Jan 31, 2018 · 4 comments

Comments

@anuragagarwal561994
Copy link

Setting LD_LIBRARY_PATH, is not able to use libraries from /usr/lib because of which curl is not working.

Error: curl: /opt/mesosphere/libmesos-bundle/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by curl)

https://github.com/mesosphere/spark-build/blob/c7c418d4f2138e7a0862e5d25b8b7e8fa960e393/docker/Dockerfile#L59

@ac-hibbert
Copy link

The same thing happens in the jenkins image that mesos builds, so presumably something is wrong with the libmesos bundle also things like apt-get don't work

@antinodes
Copy link

FYI, you can workaround this by running unset LD_LIBRARY_PATH. If you are deriving from this image then use RUN unset LD_LIBRARY_PATH && curl -L -O <url>.

@vishnu2kmohan
Copy link

@anuragagarwal561994 Please let us know if you continue to experience this issue with the latest release of Spark 2.5.0-2.2.1

@anuragagarwal561994
Copy link
Author

@vishnu2kmohan Yes I used mesosphere/spark:2.5.0-2.2.1-hadoop-2.7 docker image and it works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants