Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Possible CDO linking issues #700

Closed
bekozi opened this issue Jan 12, 2016 · 3 comments
Closed

Possible CDO linking issues #700

bekozi opened this issue Jan 12, 2016 · 3 comments

Comments

@bekozi
Copy link
Contributor

bekozi commented Jan 12, 2016

I encountered some linking issues with cdo and Ubuntu. Let me know if I can help out with any more debugging.

libgrib not linking (probably also requires build-essential):

$ docker run continuumio/anaconda bash -c "conda install --yes -c ioos cdo python=2.7 && cdo"
cdo: error while loading shared libraries: libgrib_api.so.0: cannot open shared object file: No such file or directory

Requires build-essential:

$ docker run continuumio/anaconda bash -c "conda install -c ioos cdo python=3 && cdo"
cdo: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory

This works:

$ docker run continuumio/anaconda bash -c "apt-get update --yes && \
                                           apt-get install --yes build-essential && \
                                           conda install -c ioos cdo python=3 && cdo"

This line looks a little suspect for ecmwf_grib: https://github.com/SciTools/conda-recipes-scitools/blob/master/ecmwf_grib/meta.yaml#L17. However, I would think that would be problematic for the Python 3 builds not 2.7.

@ocefpaf
Copy link
Member

ocefpaf commented Jan 12, 2016

I was aware of the grib_api issue and I have been looking the other way for a while 😒

My solution? Get rid of it 😉 (See PR #702.)
Most of our users do not use the grib_api. I will re-try that in the future though.

Regarding the build-essential dependency: that should go in #676 (comment).

I will edit the wiki and we will ask @rsignell-usgs to review it later. (Let's keep this issue open until I do so.)

Thanks for looking into this @bekozi!

@bekozi
Copy link
Contributor Author

bekozi commented Jan 12, 2016

My solution? Get rid of it (See PR #702.)

A fine solution. 😄

Regarding the build-essential dependency: that should go in #676 (comment).

Sounds good!

@ocefpaf ocefpaf mentioned this issue Feb 17, 2016
@ocefpaf
Copy link
Member

ocefpaf commented Feb 18, 2016

Fixed in #770

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

2 participants