[Rock-dev] rock fails on xenomai system
gprizzi at tin.it
gprizzi at tin.it
Sat Feb 26 17:22:40 CET 2011
Dear Sirs,
I am trying to use a fresh installation of rock on a linux system with xenomai.
I got and installed rock with xenomai and ocl support without errors.
then I put in .bashrc
source /usr/src/rock/env.sh
and I set the variable
LD_LIBRARY_PATH=/usr/src/rock/install/lib/orocos:/usr/src/rock/install/lib/orocos/plugins:/usr/src/rock/install/lib/orocos/types:$LD_LIBRARY_PATH$; export LD_LIBRARY_PATH
To test the system I ran the following commands:
orogen create test
orogen --target=xenomai test.orogen
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/rock
make
When I run the command ./test_test
I got the following errors:
4.519 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libbase-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.524 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libhokuyo-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.555 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libwifimon-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.684 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libcanbus-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.759 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libparport-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.801 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libcontroldev-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
4.801 [ Warning][Logger] Some found plugins could not be loaded !
4.801 [ Warning][Logger] Corrupted files found in '/usr/local/lib/rock/lib/orocos/:/usr/src/rock/install/lib/orocos/::/'. Fix or remove these plugins
I verified that the libraries are available in the paths.
If I run the command
ldconfig -p
I can see the following lines in the output:
libbase-typekit-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libbase-typekit-xenomai.so
libbase-transport-typelib-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libbase-transport-typelib-xenomai.so
libbase-transport-corba-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libbase-transport-corba-xenomai.so
libhokuyo-typekit-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libhokuyo-typekit-xenomai.so
libhokuyo-transport-typelib-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libhokuyo-transport-typelib-xenomai.so
libhokuyo-transport-corba-xenomai.so (libc6,x86-64) => /usr/src/rock/install/lib/orocos/types/libhokuyo-transport-corba-xenomai.so
.....
what have I missed?
Thank you in advance.
Gianpaolo Rizzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110226/4345f878/attachment.htm
More information about the Rock-dev
mailing list