Hi Fung Yang,
all the step you mentioned seems right for me.
You can also try to set the linker flag, and you can do this is using ccmake.
Pressing the 't' key (advanced mode) you can add extra flags, I think the variable is CMAKE_EXE_LINKER_FLAG.
Also you can try compiling with
$> make VERBOSE=1
and check the linker flags in the line where the error arise.

I hope this can help you.

On 5 November 2013 00:18, fung <fung.yang@auckland.ac.nz> wrote:

Hello! How’s everything?

To install player-3.0.2 onto Ubuntu13.10 32bits,
during make,
I encountered error as listed below:
Linking CXX executable playerc++_test
/usr/bin/ld: CMakeFiles/playerc++_test.dir/test.o: undefined reference to
symbol '_ZN5boost6system15system_categoryEv'
error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [client_libs/libplayerc++/test/playerc++_test] Error 1
make[1]: ***
[client_libs/libplayerc++/test/CMakeFiles/playerc++_test.dir/all] Error 2
make: *** [all] Error 2

I tried to
Install libboost-system-dev,
$apt-get install libboost-system-dev

Using dpkg found
   installed libboost-syste is version
   installed libboost-dev is
Change environment variable – LD_LIBRARY_PATH to include the path
where libboost_system.so is, that is:
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/i386-linux-gnu

~/playerstage/player-3.0.2/build$ cmake ../

change the CMAKE_CXX_FLAGS variable in /player-3.0.2/build/CMakeCache.txt.
Change the line
CMAKE_CXX_FLAGS:STRING=   -lboost_system


Still encounter the same error.

Your advice is very much appreciated.

Many thanks,
Fung Yang

View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/player-make-error-undefined-reference-to-symbol-ZN5boost6system15system-categoryEv-tp19135.html
Sent from the playerstage-users mailing list archive at Nabble.com.

November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
Playerstage-users mailing list

Gonzalo F. Perez Paina
Research Center in Informatics for Engineering (CIII)
Universidad Tecnológica Nacional. Facultad Regional Córdoba
Maestro M. López esq. Cruz Roja Argentina - C.P.: X5016ZAA
Ed. Salcedo, Of.5. Tel.: 5986000, Int.: 1445
e-mail: gperez@scdt.frc.utn.edu.ar
webpage: http://ciii.frc.utn.edu.ar/GonzaloPerezPaina