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

ODE does not built on Ubuntu 18.04 if Anaconda is installed #102

Open
kavonszadkowski opened this issue Sep 5, 2019 · 0 comments
Open

Comments

@kavonszadkowski
Copy link
Contributor

Describe the bug
On a system with Ubuntu 18.04 and Anaconda installed, libtool (GNU libtool) prevents ODE from building, as Anaconda's libtool appears to be a different version.

make[1]: Entering directory '$DEV/simulation/ode/OPCODE'
Making install in Ice
make[2]: Entering directory '$DEV/simulation/ode/OPCODE/Ice'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -fPIC -o libIce.la IceAABB.lo IceContainer.lo IceHPoint.lo IceIndexedTriangle.lo IceMatrix3x3.lo IceMatrix4x4.lo IceOBB.lo IcePlane.lo IcePoint.lo IceRandom.lo IceRay.lo IceRevisitedRadix.lo IceSegment.lo IceTriangle.lo IceUtils.lo -lm -lpthread
libtool: link: /tmp/build/80754af9/libtool_1538243245774/_build_env/bin/x86_64-conda_cos6-linux-gnu-ar cru .libs/libIce.a .libs/IceAABB.o .libs/IceContainer.o .libs/IceHPoint.o .libs/IceIndexedTriangle.o .libs/IceMatrix3x3.o .libs/IceMatrix4x4.o .libs/IceOBB.o .libs/IcePlane.o .libs/IcePoint.o .libs/IceRandom.o .libs/IceRay.o .libs/IceRevisitedRadix.o .libs/IceSegment.o .libs/IceTriangle.o .libs/IceUtils.o
../../libtool: line 1734: /tmp/build/80754af9/libtool_1538243245774/_build_env/bin/x86_64-conda_cos6-linux-gnu-ar: No such file or directory
Makefile:279: recipe for target 'libIce.la' failed
make[2]: *** [libIce.la] Error 127
make[2]: Leaving directory '$DEV/simulation/ode/OPCODE/Ice'
Makefile:402: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '$DEV/simulation/ode/OPCODE'
Makefile:408: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

To Reproduce
Steps to reproduce the behavior:

  1. Grab yourself a fresh Ubuntu 18.04.
  2. Install Anaconda 3
  3. Check out and install MARS
  4. See error

Expected behavior
Unclear. The problem really is that Anaconda kind of takes over the system (e.g., it also overwrites the system Python distro).

Possible solution
I fixed it by moving Anaconda's edits from .bashrc to a separate script I only source when I need Anaconda. Not sure yet if that breaks something else...

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

1 participant