#314 undefined symbol: _ZN6Driver7PublishE14player_devaddrR12Queu

2-1
closed-invalid
player (137)
5
2009-12-13
2009-12-12
Anonymous
No

I am running player 2.1.2 (recently downloaded from sourceforge) on a lenovo T61 laptop running Ubuntu 8.04 32bit.
I compiled the example plugin driver packed with the source code and tried to run the corresponding configuration file.
I got the following error message:

$ robot-player -d 9 example.cfg

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

trying to load /home/erratic/Downloads/player-2.1.2/examples/plugins/exampledriver/./libexampledriver.so...
failed (/home/erratic/Downloads/player-2.1.2/examples/plugins/exampledriver/./libexampledriver.so: undefined symbol: _ZN6Driver7PublishE14player_devaddrR12QueuePointerhhPvjPdb)

trying to load /usr/lib/libexampledriver.so...
failed (/usr/lib/libexampledriver.so: cannot open shared object file: No such file or directory)

trying to load libexampledriver.so...
failed (libexampledriver.so: cannot open shared object file: No such file or directory)

error : error loading plugin: libexampledriver.so
error : failed to load plugin: libexampledriver.so
error : failed to parse config file example.cfg

My gcc version is :

gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

The reason why I consider this error important is that I also get the exact same error when I try to run my own plugin drivers, so I believe that no plugin drivers can be used in that version of the player...

Discussion

  • Toby Collett

    Toby Collett - 2009-12-13

    I think the problem is most likely that you have more than one version of player installed on your system and you are linking against a different version at run time, than the version you built against, check your LD_LIBRARY_PATH, and which other versions of player are lurking around.

     
  • Toby Collett

    Toby Collett - 2009-12-13
    • status: open --> closed-invalid
     

Log in to post a comment.