<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Ok, got the problem -- solved --<br>
      <br>
      It's related to this:<br>
      <a class="moz-txt-link-freetext" href="http://www.kieltech.de/uweswiki/Xenomai">http://www.kieltech.de/uweswiki/Xenomai</a> -&gt; Testing Xenomai<br>
      you have to build the xenomai packages with "
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      --enable-dlopen-skins"<br>
      If you have done (and reinstalled) this, you have to add yourself
      to the xenomai group if you have followed this xenomai
      instructions
<a class="moz-txt-link-freetext" href="http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/">http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/</a>.<br>
      <br>
      Afterward for me everything seems to work fine,<br>
      Best,<br>
      Matthias<br>
      <br>
      P.S. error to search for:<br>
      <pre wrap="">rb(main):001:0&gt; require 'rorocos_ext'
LoadError: libnative.so.3: shared object cannot be dlopen()ed -

</pre>
      <br>
      On 30.06.2014 13:57, Matthias Goldhoorn wrote:<br>
    </div>
    <blockquote cite="mid:53B150B1.6000506@dfki.de" type="cite">
      <pre wrap="">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:
</pre>
      <blockquote type="cite">
        <pre wrap="">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 `&lt;main&gt;'

Best,
Siavash
________________________________________
From: Matthias Goldhoorn [<a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>]
Sent: Monday, June 30, 2014 2:18 PM
To: Tavakoli Siavash
Cc: <a class="moz-txt-link-abbreviated" href="mailto:rock-users@dfki.de">rock-users@dfki.de</a>
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
  &gt; require 'orocos'

and post (if hopefully) the additional error msg.

Best,
Matthias

On 30.06.2014 13:02, Sascha Arnold wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello,

I think to remember, that I solved this error once by recreate the
env.sh with
</pre>
          <blockquote type="cite">
            <pre wrap="">autoproj envsh
</pre>
          </blockquote>
          <pre wrap="">and resource the environment
</pre>
          <blockquote type="cite">
            <pre wrap="">. env.sh
</pre>
          </blockquote>
          <pre wrap="">Maybe that helps.

Best,
Sascha

On 30.06.2014 12:12, Tavakoli Siavash wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">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 [<a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>]
Sent: Monday, June 30, 2014 12:05 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:rock-users@dfki.de">rock-users@dfki.de</a>; 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 &amp;&amp;
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:
</pre>
            <blockquote type="cite">
              <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Rock-users@dfki.de">Rock-users@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users</a>
</pre>
            </blockquote>
            <pre wrap="">--
     Dipl.-Inf. Matthias Goldhoorn
     Space and Underwater Robotic

     Universit&auml;t Bremen
     FB 3 - Mathematik und Informatik
     AG Robotik
     Robert-Hooke-Stra&szlig;e 1
     28359 Bremen, Germany

     Zentrale: +49 421 178 45-6611

     Besuchsadresse der Nebengesch&auml;ftstelle:
     Robert-Hooke-Stra&szlig;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:  <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a>

     Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a>

_______________________________________________
Rock-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-users@dfki.de">Rock-users@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users</a>
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">
--
   Dipl.-Inf. Matthias Goldhoorn
   Space and Underwater Robotic

   Universit&auml;t Bremen
   FB 3 - Mathematik und Informatik
   AG Robotik
   Robert-Hooke-Stra&szlig;e 1
   28359 Bremen, Germany

   Zentrale: +49 421 178 45-6611

   Besuchsadresse der Nebengesch&auml;ftstelle:
   Robert-Hooke-Stra&szlig;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:  <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a>

   Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a>

</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
 Dipl.-Inf. Matthias Goldhoorn 
 Space and Underwater Robotic

 Universit&auml;t Bremen
 FB 3 - Mathematik und Informatik
 AG Robotik
 Robert-Hooke-Stra&szlig;e 1
 28359 Bremen, Germany
 
 Zentrale: +49 421 178 45-6611
 
 Besuchsadresse der Nebengesch&auml;ftstelle: 
 Robert-Hooke-Stra&szlig;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:  <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a>

 Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a></pre>
  </body>
</html>