soem slaveinfo problem

Hi,

When calling
$slaveinfo eth0
I get:
slaveinfo: error while loading shared libraries: libsoem.so: cannot open
shared object file: No such file or directory

I have the required file: /opt/ros/indigo/lib/libsoem.so
and LD_LIBRARY_PATH points to it.
Calling using sudo rights does not solve it neither.
Smells like the LD_LIBRARY_PATH is unset, due to the setcaps.sh script?
How do others use this executable?

system:
Ubuntu 14.04, ROS Indigo, Orocos 2.8.x
slaveinfo => /opt/ros/indigo/bin/slaveinfo

Nick

soem slaveinfo problem

On 12/21/2015 11:27 AM, Dominick Vanthienen wrote:
> Hi,
>
> When calling
> $slaveinfo eth0
> I get:
> slaveinfo: error while loading shared libraries: libsoem.so: cannot open
> shared object file: No such file or directory
>
> I have the required file: /opt/ros/indigo/lib/libsoem.so
> and LD_LIBRARY_PATH points to it.
> Calling using sudo rights does not solve it neither.
> Smells like the LD_LIBRARY_PATH is unset, due to the setcaps.sh script?
> How do others use this executable?
Solved:
1)setcap should not have been ran on the slaveinfo executable
2)you have to run it as sudo (which gives the same error), but setting
the LD_LIBRARY_PATH manually solves the problem:
$sudo su
$export LD_LIBRARY_PATH=/opt/ros/indigo/lib
$/opt/ros/indigo/bin/slaveinfo eth0

I'll make a readme and add it to github...
>
> system:
> Ubuntu 14.04, ROS Indigo, Orocos 2.8.x
> slaveinfo => /opt/ros/indigo/bin/slaveinfo
>
> Nick
>