From: David Scheiner <davids@ee...> - 2006-04-12 17:50:54
I'am trying to run Player/Stage 2.0.1 on MacOS X (10.3.7).
I was able to compile and install Player 2.0.1 and Stage 2.0.1.
Then I tested Stage with one of the example files
src/stest worlds/simple.world robot1
This worked (a moving robot appeared on the screen).
Then I tried to use Player with Stage. According to
This lead to the following error:
trying to load /usr/local/lib/libstageplugin...
error : failed to resolve player_driver_init: dlcompat: Symbol
"_player_driver_init" not found
error : failed to load plugin: libstageplugin
error : failed to parse config file
Thanks for any help.
From: Brian Gerkey <brian@ge...> - 2006-04-12 21:37:18
On Apr 12, 2006, at 10:50 AM, David Scheiner wrote:
> I'am trying to run Player/Stage 2.0.1 on MacOS X (10.3.7).
> I was able to compile and install Player 2.0.1 and Stage 2.0.1.
> player /usr/local/share/stage/worlds/simple.cfg
> This lead to the following error:
> PLAYERPATH: /usr/local/lib
> trying to load /usr/local/lib/libstageplugin...
> invoking player_driver_init()...
> error : failed to resolve player_driver_init: dlcompat: Symbol
> "_player_driver_init" not found
I can't replicate that problem on my OS X 10.4.6 system.
Do you have the files libstageplugin.la and libstageplugin.dylib in /
Try nm, e.g.:
$ nm -g /usr/local/lib/libstageplugin.dylib | grep player_driver_init
I get this on my 10.4.6 system:
00001b04 T _player_driver_init
00009ef4 S _player_driver_init.eh
The "T" indicates that the symbol is defined in the text (code)
section of the library. The -g flag to nm told it to only display
global (exported) symbols, so I know that that symbol will be
available to programs that load the lib.