ApolloAuto / apollo-platform

Collections of Apollo Platform Software
733 stars 386 forks source link

apollo run issue fix : symbol not found #62

Closed GitBubble closed 6 years ago

GitBubble commented 6 years ago

19 is the issue not fixed but closed anyway.

runtime error :

system/indigo/src/install/ros_x86_64/lib/rosout/rosout: symbol lookup error: system/indigo/src/install/ros_x86_64/lib/librosconsole_log4cxx.so: undefined symbol: ZN7log4cxx16AppenderSkeleton9setOptionERKSsS2

the error will jump out when i build apollo-platform with boost 1.58.0 .

root cause : build.sh will copy _librosconsolelog4cxx.so under _thirdparty/lib directory to install directory, for the existed _librosconsolelog4cxx.so under _thirdparty/lib was built with boost-1.54.0. it will print error message when you run any binary use with librosconsole_log4xx.so.

the fix here is easy, just ignore _librosconsolelog4cxx.so copy action ,let the catkin_make_isolate install it for you.

BTW, the swig wrapper script is really a trifle when run building . i integrate swig-wrapper build to the build.sh #

GitBubble commented 6 years ago

here is the PR #63