projectchrono / chrono

High-performance C++ library for multiphysics and multibody dynamics simulations
http://projectchrono.org
BSD 3-Clause "New" or "Revised" License
2.22k stars 466 forks source link

Why chrono specifies GLIBC version? (version `GLIBC_2.27' not found) #266

Open pengzhenghao opened 4 years ago

pengzhenghao commented 4 years ago

I encounter the problem that chrono can not successfully installed in linux server

The command I use is: conda install -c projectchrono pychrono. I also tried conda install -c projectchrono/label/develop pychrono but it make no difference.

Is there some way to workaround this issue? I don't think it's proper to change the cpp library for installing a package, because we think it might be better for chrono just acts like a package that are compatible for arbitrary server.

ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /***/lib/python3.7/site-packages/pychrono/../../../libChronoEngine.so)
Benatti1991 commented 4 years ago

Hi Peng, the linux conda packages are built on Ubuntu 18.04, thus linking GLIBC_2.27. You are totally right, installing a second glibc is not easy and very tricky, so my suggestion is just to build from sources. Let me know if you need help in the process. Simone