RPATH problem on macOS 10.12 #3539
Replies: 3 comments
-
do you have a suggested patch? Otherwise let's close the issue. Note that Gazebo doesn't use Bullet btMultiBody, so for robotics your are better of using pybullet. |
Beta Was this translation helpful? Give feedback.
-
Hi @erwincoumans , thanks for reaching out. I think that there is a problem with RPATH and bullet3. I don't have a suggested patch/strategy for now. We first should wait for the CMake issue to be solved first, otherwise I might think of a possible workaround for the meantime. My setup comes from |
Beta Was this translation helpful? Give feedback.
-
This post is an update about this issue. It seems that this issue has been "solved" with PR #954. ~ $ otool -L /usr/local/opt/bullet/lib/libBulletSoftBody.2.86.dylib
/usr/local/opt/bullet/lib/libBulletSoftBody.2.86.dylib:
/usr/local/opt/bullet/lib/libBulletSoftBody.2.86.dylib (compatibility version 2.86.0, current version 2.86.0)
@rpath/libBulletDynamics.2.86.dylib (compatibility version 2.86.0, current version 2.86.0)
@rpath/libBulletCollision.2.86.dylib (compatibility version 2.86.0, current version 2.86.0)
@rpath/libLinearMath.2.86.dylib (compatibility version 2.86.0, current version 2.86.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
~ $ otool -l /usr/local/opt/bullet/lib/libBulletSoftBody.2.86.dylib | grep -i rpath
name @rpath/libBulletDynamics.2.86.dylib (offset 24)
name @rpath/libBulletCollision.2.86.dylib (offset 24)
name @rpath/libLinearMath.2.86.dylib (offset 24) I can still find This problem may be due to the above mentioned problem on CMake which is fixed in the upcoming 3.9 version. Let's wait for the new release and see whether we can fix this definitely or not 😄 . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I installed Gazebo8 via
brew
, and Bullet is installed along as a dependency with--with-shared
and--with-double-precision
parameters.The whole installation process runs out smoothly without errors.
However, running
gazebo
, the following error is raised:Running
otool -L /usr/local/opt/bullet/lib/libBulletSoftBody.2.85.dylib
reportswhile running
otool -l /usr/local/opt/bullet/lib/libBulletSoftBody.2.85.dylib | grep -i rpath
reportsWith the latter command, it seems that
cmd LC_RPATH
load commands are missing.I was able to workaround this problem by setting
Beta Was this translation helpful? Give feedback.
All reactions