ApolloAuto/apollo-platform

apollo run issue fix : symbol not found

Closed this issue · 1 comments

#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 librosconsole_log4cxx.so under third_party/lib directory to install directory, for the existed librosconsole_log4cxx.so under third_party/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 librosconsole_log4cxx.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 #

here is the PR #63