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:

<span style="background-color: rgb(255, 255, 51);"><simple name="Import"  type="string"><value>,/</value></simple><span>
2,then in terminal I run:
<span style="background-color: rgb(255, 255, 51);">deployer-gnulinux -linfo -s application.xml<span>


The terminal gives me errors:

<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>


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
<span style="background-color: rgb(255, 255, 51);"><simple name="Import"  type="string"><value>/usr/local/lib</value></simple><span>
But it still doesn't work!


How can I tell the "deployer-gnulinux" that the shared library 's position???

Any help is appreciated.

GL

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....^_^...


2009/1/28 Peter Soetens <span dir="ltr"><peter [dot] soetens [..] ...><span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



> 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

<font color="#888888">

--

www.fmtc.be





<font><blockquote>


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>&lt;/
&gt; 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