Gazebo 1.9 Failed to load Plugin even with exporting $GAZEBO_PLUGIN_PATH

asked 2013-10-26 14:32:03 -0600

informednoob gravatar image

updated 2013-10-28 14:56:20 -0600

Jose Luis Rivero gravatar image

I am currently doing the model manipulation plugin tutorial.

I was able to do the World Control tutorial with no problems.

But on this tutorial I am getting:

Error [Plugin.hh:127] Failed to load plugin build/ build/ cannot open shared object file: No such file or directory

I have correctly exported the directory with

 export GAZEBO\_PLUGIN\_PATH=*path to build dir*:$GAZEBO\_PLUGIN\_PATH

and checked.

I checked previous similar questions but they all seem to say to export the directory. In this case the directory is exported but I am getting the same error.

edit retag flag offensive close merge delete


I was trying running exactly the instructions as they appear in the document and it is working for me. Key point is to be sure that you are calling gzserver from one directory under build (../build).

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2013-10-28 14:59:32 -0600 )edit

Actually the code on this page: has an error on the sdf file. Instead of <plugin name="modelpush" filename="build/"/> it should be <plugin name="modelpush" filename=""/>

informednoob gravatar imageinformednoob ( 2013-11-02 15:12:11 -0600 )edit

It says: """To start simulation, run cd ~/gazeboplugintutorial/ && gzserver -u model_push.sdf""" So it should be ok to leave the path as build/ Did you change directory before run?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2013-11-06 07:11:39 -0600 )edit