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

How to handle OpenGL requirement on Linux #489

Closed
chapmanb opened this issue Dec 20, 2015 · 3 comments · Fixed by #493
Closed

How to handle OpenGL requirement on Linux #489

chapmanb opened this issue Dec 20, 2015 · 3 comments · Fixed by #493

Comments

@chapmanb
Copy link
Member

Hi all;
I'm working on porting over R/bioconductor libraries to bioconda, and ran into an issue with those that require r-rgl. It links against libGLU, and gives errors:

** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/anaconda/envs/_build/lib/R/library/rgl/libs/rgl.so':
  libGLU.so.1: cannot open shared object file: No such file or directory

I could fix by installing an OpenGL implementation like Mesa: yum install mesa-libGLU-devel on the build box. Does everyone think this is the best plan to handle this, or know of a better/cleaner way to provide the dependency in conda without bringing in a huge X porting effort? Thanks for any help or ideas.

@johanneskoester
Copy link
Contributor

To me, it sounds reasonable to assume a working X installation for such packages.

@chapmanb
Copy link
Member Author

Johannes -- thanks much. Any objections from anyone if I add mesa-libGLU-devel to the CentOS build-bot Dockerfile?

@chapmanb
Copy link
Member Author

Thanks again for the feedback. I added mesa in and updated the bioconda/bioconda-builder image on Docker Hub so it's now available for recipes. Thanks again.

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

Successfully merging a pull request may close this issue.

2 participants