Home | Tutorials | Wiki | Issues
Ask Your Question
1

dyld: Symbol not found: regex_traits

asked 2016-01-14 16:31:44 -0600

Al B gravatar image

I just installed gazebo7 on my mac with osx 10.10.5 using brew, and it's successfully built/installed; but when I try to run it I get this error message (see below). Do I need to setup a PATH or install something else? TIA!


$ gazebo

dyld: Symbol not found: __ZNK5boost9re_detail31cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_ Referenced from: /usr/local/opt/sdformat3/lib/libsdformat.3.dylib Expected in: /usr/local/opt/boost/lib/libboost_regex-mt.dylib in /usr/local/opt/sdformat3/lib/libsdformat.3.dylib Trace/BPT trap: 5

edit retag flag offensive close merge delete

Comments

Having the same issue, would love to have a resolution! Additional info: gazebo7 installs sdformat4 as a dep, but doesn't link it and won't compile without sdformat3 being linked.

helenol gravatar imagehelenol ( 2016-01-15 03:55:11 -0600 )edit

Please note that gazebo7 has not been released yet. I would recommended not to use it except if you want to contribute with development.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2016-01-15 11:11:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-15 08:09:04 -0600

Found a solution: it's either sdformat (version 2.2) or boost, since gazebo updates you to the latest version of boost, or a combination of the two. It might be enough to just recompile everything with the same boost version.

What I did, step-by-step was uninstall sdf, switch back to my previous version of boost, and rebuild everything.

brew uninstall sdformat  
brew uninstall sdformat4  
brew uninstall sdformat3  
brew info boost  
brew switch boost 1.58.0 (your previous version may vary...)  
brew install sdformat3   
brew link sdformat3  
brew install gazebo7

Probably it is worth trying just removing and re-installing sdformat3 with the newest boost to fix the issue.

edit flag offensive delete link more

Comments

Unfortunately, your steps didn't fix the problem for me. However, today I tried to install everything again from HEAD (i.e. brew install gazebo7 --HEAD) and it now builds/launches.

Al B gravatar imageAl B ( 2016-01-18 13:30:49 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-01-14 16:31:44 -0600

Seen: 479 times

Last updated: Jan 14 '16