-
Notifications
You must be signed in to change notification settings - Fork 42
Description
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:
- Grab yourself a fresh Ubuntu 18.04.
- Install Anaconda 3
- Check out and install MARS
- 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...