Orocos 2.3.2 with Xenomai fails: libpthread_rt.so.1: shared object cannot be dlopen()ed

Hello,

I successfully installed orocos 2.3.2 on Linux, but if I compile it for
Xenomai, it doesn't work.
I installed it, following this page:
http://www.orocos.org/wiki/orocos/toolchain/quick-start

I get the following error message:

ufechner@dell-laptop:~/orocos-toolchain/install/bin$ deployer-xenomai
WARNING: You are not root. This program *may* require that you are root.
0.024 [ ERROR ][Logger] could not load library
'/home/ufechner/orocos-toolchain/install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
libpthread_rt.so.1: shared object cannot be dlopen()ed
0.043 [ Warning][Logger] Some found plugins could not be loaded !
0.043 [ Warning][Logger] Corrupted files found in
'/home/ufechner/orocos-toolchain/install/lib/orocos'. Fix or remove
these plugins.
Switched to : Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> quit

I get the same error, if I run it as root.

I already recompiled xenomai in this way:

> cd ~/xenomai-2.5.6
> ./configure --enable-dlopen-skins
> make
> sudo make install

But this didn't help.

Any ideas?

Uwe Fechner

PS: I documented the way, I installed and configured Xenomai on this page:
http://www.kieltech.de/uweswiki/Xenomai

Orocos 2.3.2 with Xenomai fails: libpthread_rt.so.1: shared obje

Hello,

I fixed this myself. I had two versions of the xenomai libraries on my
computer, one in
/usr/xenomai/lib and an old one in /usr/lib.

So I copied the new libs into the /usr/lib folder:
> cd /usr/xenomai/lib
> sudo cp *.so* /usr/lib

Is there a better way to do this?

Regards:

Uwe Fechner

On 05.05.2011 12:00, Uwe Fechner wrote:
> Hello,
>
> I successfully installed orocos 2.3.2 on Linux, but if I compile it for
> Xenomai, it doesn't work.
> I installed it, following this page:
> http://www.orocos.org/wiki/orocos/toolchain/quick-start
>
> I get the following error message:
>
> ufechner@dell-laptop:~/orocos-toolchain/install/bin$ deployer-xenomai
> WARNING: You are not root. This program *may* require that you are root.
> 0.024 [ ERROR ][Logger] could not load library
> '/home/ufechner/orocos-toolchain/install/lib/orocos/xenomai/./types/librtt-transport-mqueue-xenomai.so':
> libpthread_rt.so.1: shared object cannot be dlopen()ed
> 0.043 [ Warning][Logger] Some found plugins could not be loaded !
> 0.043 [ Warning][Logger] Corrupted files found in
> '/home/ufechner/orocos-toolchain/install/lib/orocos'. Fix or remove
> these plugins.
> Switched to : Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Deployer [S]> quit
>
> I get the same error, if I run it as root.
>
> I already recompiled xenomai in this way:
>
>> cd ~/xenomai-2.5.6
>> ./configure --enable-dlopen-skins
>> make
>> sudo make install
> But this didn't help.
>
> Any ideas?
>
> Uwe Fechner
>
> PS: I documented the way, I installed and configured Xenomai on this page:
> http://www.kieltech.de/uweswiki/Xenomai
>