deployer 's problem of RTT exercise 7

Hi,<br>Today I continue to learn how to&nbsp; use Orocos and do exercise part 7.<br>Unfortunately, it gives error again. <br><br>I follow the file &quot;application.xml &quot; and do:<br><br>1,add &quot;Import&quot; to xml file:<br>
<span style="background-color: rgb(255, 255, 51);">&lt;simple name=&quot;Import&quot;&nbsp; type=&quot;string&quot;&gt;&lt;value&gt;,/&lt;/value&gt;&lt;/simple&gt;</span><br>2,then in terminal I run:<br><span style="background-color: rgb(255, 255, 51);">deployer-gnulinux -linfo -s application.xml</span><br>
<br>The terminal gives me errors:<br><br><span style="background-color: rgb(255, 255, 51);">deployer-gnulinux: error while loading shared libraries: liborocos-taskbrowser-gnulinux.so.1.6: cannot open shared object file: No such file or directory</span><br>
<br>It seems it can not find shared library. But I have checked the library &quot;liborocos-taskbrowser-gnulinux.so.1.6&quot; is in &quot;/usr/local/lib&quot;. That path also was contained in the environment &quot;PATH&quot;.<br>
I have try to use<br><span style="background-color: rgb(255, 255, 51);">&lt;simple name=&quot;Import&quot;&nbsp; type=&quot;string&quot;&gt;&lt;value&gt;/usr/local/lib&lt;/value&gt;&lt;/simple&gt;</span><br>But it still doesn&#39;t work!<br>
<br>How can I tell the &quot;deployer-gnulinux&quot; that the shared library &#39;s position???<br><br>Any help is appreciated.<br><br>GL<br>

deployer 's problem of RTT exercise 7

> Hi,
> Today I continue to learn how to use Orocos and do exercise part 7.
> Unfortunately, it gives error again.
>
> I follow the file "application.xml " and do:
>
> 1,add "Import" to xml file:
> <simple name="Import" type="string"><value>,/</value></simple>
> 2,then in terminal I run:
> deployer-gnulinux -linfo -s application.xml
>
> The terminal gives me errors:
>
> deployer-gnulinux: error while loading shared libraries:
> liborocos-taskbrowser-gnulinux.so.1.6: cannot open shared object file: No
> such file or directory

Add the line
/usr/local/lib

to the /etc/ld.so.conf file and then run
sudo ldconfig
once.

If you can't edit this file, set this before you start your program:

export LD_LIBRARY_PATH=/usr/local/lib

The first option is best since you only need to do it only once.
The second needs to be done once in your current terminal session.

Peter

deployer 's problem of RTT exercise 7

Thanks so much..It works again....^_^...<br><br><div class="gmail_quote">2009/1/28 Peter Soetens <span dir="ltr">&lt;<a href="mailto:peter [dot] soetens [..] ...">peter [dot] soetens [..] ...</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
&gt; Hi,<br>
&gt; Today I continue to learn how to &nbsp;use Orocos and do exercise part 7.<br>
&gt; Unfortunately, it gives error again.<br>
&gt;<br>
&gt; I follow the file &quot;application.xml &quot; and do:<br>
&gt;<br>
&gt; 1,add &quot;Import&quot; to xml file:<br>
&gt; &lt;simple name=&quot;Import&quot; &nbsp;type=&quot;string&quot;&gt;&lt;value&gt;,/&lt;/value&gt;&lt;/simple&gt;<br>
&gt; 2,then in terminal I run:<br>
&gt; deployer-gnulinux -linfo -s application.xml<br>
&gt;<br>
&gt; The terminal gives me errors:<br>
&gt;<br>
&gt; deployer-gnulinux: error while loading shared libraries:<br>
&gt; liborocos-taskbrowser-gnulinux.so.1.6: cannot open shared object file: No<br>
&gt; such file or directory<br>
<br>
</div>Add the line<br>
&nbsp;/usr/local/lib<br>
<br>
to the /etc/ld.so.conf file and then run<br>
&nbsp;sudo ldconfig<br>
once.<br>
<br>
If you can&#39;t edit this file, set this before you start your program:<br>
<br>
&nbsp;export LD_LIBRARY_PATH=/usr/local/lib<br>
<br>
The first option is best since you only need to do it only once.<br>
The second needs to be done once in your current terminal session.<br>
<br>
Peter<br>
<font color="#888888"><br>
--<br>
<a href="http://www.fmtc.be" target="_blank">www.fmtc.be</a><br>
<br>
<br>
</font></blockquote></div><br>

deployer 's problem of RTT exercise 7

On Jan 28, 2009, at 13:48 , guoliang liu wrote:

> Hi,
> Today I continue to learn how to use Orocos and do exercise part 7.
> Unfortunately, it gives error again.
>
> I follow the file "application.xml " and do:
>
> 1,add "Import" to xml file:
> <simple name="Import" type="string"><value>,/</value></simple>

Shouldn't you have an actual value instead of ",/" above?

> 2,then in terminal I run:
> deployer-gnulinux -linfo -s application.xml

Can you post all of "application.xml".

> The terminal gives me errors:
>
> deployer-gnulinux: error while loading shared libraries: liborocos-
> taskbrowser-gnulinux.so.1.6: cannot open shared object file: No such
> file or directory
>
> It seems it can not find shared library. But I have checked the
> library "liborocos-taskbrowser-gnulinux.so.1.6" is in "/usr/local/
> lib". That path also was contained in the environment "PATH".
> I have try to use
> <simple name="Import" type="string"><value>/usr/local/lib</value></
> simple>
> But it still doesn't work!
>
> How can I tell the "deployer-gnulinux" that the shared library 's
> position???

What is the output of "ldd" on your shared library that you are
loading. The deployer uses the operating system to find all shared
libraries. So for Linux, is "/usr/local/lib" in either /etc/ld.so.conf
or one of the files in /etc/ld.so.conf.d?

Cheers
S