Ok, got the problem -- solved --

It's related to this:
http://www.kieltech.de/uweswiki/Xenomai -> Testing Xenomai
you have to build the xenomai packages with " --enable-dlopen-skins"
If you have done (and reinstalled) this, you have to add yourself to the xenomai group if you have followed this xenomai instructions http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/.

Afterward for me everything seems to work fine,
Best,
Matthias

P.S. error to search for:

rb(main):001:0> require 'rorocos_ext'
LoadError: libnative.so.3: shared object cannot be dlopen()ed -


On 30.06.2014 13:57, Matthias Goldhoorn wrote:
I got the same on my xenomai version of rock.
I cc the rock-dev therefore.

If there noone give's a hint, i will take a look during this week...

Best,
Matthias



On 30.06.2014 13:50, Tavakoli Siavash wrote:
Recreating and resourcing the env.sh didn't help. Irb outputs some additional 
info:

NotImplementedError: method `backtrace' called on unexpected T_NODE object 
(0x00000002b56bf0 flags=0x381c klass=0x0)
          from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
          from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
          from (irb):1
          from /usr/bin/irb1.9.1:12:in `<main>'

Best,
Siavash
________________________________________
From: Matthias Goldhoorn [[email protected]]
Sent: Monday, June 30, 2014 2:18 PM
To: Tavakoli Siavash
Cc: [email protected]
Subject: Re: [Rock-users] Unable to start component by ruby

If the suggestion from below (and rebuilding) does not help

try:

source env.sh
irb
   > require 'orocos'

and post (if hopefully) the additional error msg.

Best,
Matthias

On 30.06.2014 13:02, Sascha Arnold wrote:
Hello,

I think to remember, that I solved this error once by recreate the
env.sh with
autoproj envsh
and resource the environment
. env.sh
Maybe that helps.

Best,
Sascha

On 30.06.2014 12:12, Tavakoli Siavash wrote:
Hi,
Thanks for your reply.
So I did:

rm -r tools/orocos.rb/
autoproj update
amake

but the error is still there. Maybe it was fixed in next or master?

________________________________________
From: Matthias Goldhoorn [[email protected]]
Sent: Monday, June 30, 2014 12:05 PM
To: [email protected]; Tavakoli Siavash
Subject: Re: [Rock-users] Unable to start component by ruby

Hi,
Please try to delete the whole orocos.rb folder and then run a update &&
build again.
We had some problems in the past with rebuilding of ruby packages.


Best,
Matthias

On 30.06.2014 10:25, Tavakoli Siavash wrote:
Hello,

I have created a component and wrote a script to run it by using the ruby 
interface but running the script fails with an error:

Cannot require orocos.rb's Ruby/C extension
If you are using Rock, this should have been done automatically.
Run
       amake orocos.rb
and try again

rebuilding orocos.rb doesn't help and I get the same error again. I'm running 
the stable branch and target is Xenomai.

Thanks,
Siavash
_______________________________________________
Rock-users mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users
--
      Dipl.-Inf. Matthias Goldhoorn
      Space and Underwater Robotic

      Universität Bremen
      FB 3 - Mathematik und Informatik
      AG Robotik
      Robert-Hooke-Straße 1
      28359 Bremen, Germany

      Zentrale: +49 421 178 45-6611

      Besuchsadresse der Nebengeschäftstelle:
      Robert-Hooke-Straße 5
      28359 Bremen, Germany

      Tel.:    +49 421 178 45-4193
      Empfang: +49 421 178 45-6600
      Fax:     +49 421 178 45-4150
      E-Mail:  [email protected]

      Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

_______________________________________________
Rock-users mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users
--
    Dipl.-Inf. Matthias Goldhoorn
    Space and Underwater Robotic

    Universität Bremen
    FB 3 - Mathematik und Informatik
    AG Robotik
    Robert-Hooke-Straße 1
    28359 Bremen, Germany

    Zentrale: +49 421 178 45-6611

    Besuchsadresse der Nebengeschäftstelle:
    Robert-Hooke-Straße 5
    28359 Bremen, Germany

    Tel.:    +49 421 178 45-4193
    Empfang: +49 421 178 45-6600
    Fax:     +49 421 178 45-4150
    E-Mail:  [email protected]

    Weitere Informationen: http://www.informatik.uni-bremen.de/robotik




--
 Dipl.-Inf. Matthias Goldhoorn
 Space and Underwater Robotic

 Universität Bremen
 FB 3 - Mathematik und Informatik
 AG Robotik
 Robert-Hooke-Straße 1
 28359 Bremen, Germany
Zentrale: +49 421 178 45-6611 Besuchsadresse der Nebengeschäftstelle:
 Robert-Hooke-Straße 5
 28359 Bremen, Germany
Tel.: +49 421 178 45-4193
 Empfang: +49 421 178 45-6600
 Fax:     +49 421 178 45-4150
 E-Mail:  [email protected]

 Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

Reply via email to