newbie: corba-example cant find library

I am trying to get the corba example to run. I built orocos with TAO (I couldnt get OMNIORB to work at all). The example compiles OK and actually used to run. I had to re build after trying and failing with OMNIORB and now the program wont run with TAO like it used to. I get the error:

./eclient: error while loading shared libraries: liborocos-deployment-corba-gnulinux.so.1.10: cannot open shared object file: No such file or directory

The library is present and linked in /usr/local/lib to liborocos-deployment-corba-gnulinux.so.1.10.2. I know this has got to be a simple config issue but dont understand why it worked before and after a complete couple or orocos rebuilds, it doenst work.

Running fully updated Ubuntu 10.04 2.6.32-23.

-Bob

newbie: corba-example cant find library

On Jul 4, 2010, at 15:24 , rkraml [..] ... wrote:

> I am trying to get the corba example to run. I built orocos with TAO (I couldnt get OMNIORB to work at all). The example compiles OK and actually used to run. I had to re build after trying and failing with OMNIORB and now the program wont run with TAO like it used to. I get the error:
>
> ./eclient: error while loading shared libraries: liborocos-deployment-corba-gnulinux.so.1.10: cannot open shared object file: No such file or directory
>
> The library is present and linked in /usr/local/lib to liborocos-deployment-corba-gnulinux.so.1.10.2. I know this has got to be a simple config issue but dont understand why it worked before and after a complete couple or orocos rebuilds, it doenst work.
>
> Running fully updated Ubuntu 10.04 2.6.32-23.

What is the output of ldd on "eclient"?

What is LD_LIBRARY_PATH currently set to?
S

(No subject)

LD_LIBRARY_PATH is not set to anything. The ldd output is the following:

bob@GCPHost:~/Desktop/bes/demos/corba-example$ ldd eclient
linux-gate.so.1 => (0x002d5000)
liborocos-deployment-corba-gnulinux.so.1.10 => not found
liborocos-deployment-gnulinux.so.1.10 => /usr/local/lib/liborocos-deployment-gnulinux.so.1.10 (0x00d53000)
liborocos-reporting-gnulinux.so.1.10 => /usr/local/lib/liborocos-reporting-gnulinux.so.1.10 (0x00c59000)
liborocos-helloworld-gnulinux.so.1.10 => /usr/local/lib/liborocos-helloworld-gnulinux.so.1.10 (0x00110000)
liborocos-timer-gnulinux.so.1.10 => /usr/local/lib/liborocos-timer-gnulinux.so.1.10 (0x00427000)
liborocos-taskbrowser-gnulinux.so.1.10 => /usr/local/lib/liborocos-taskbrowser-gnulinux.so.1.10 (0x00993000)
liborocos-ocl-common-gnulinux.so.1.10 => /usr/local/lib/liborocos-ocl-common-gnulinux.so.1.10 (0x00196000)
liborocos-rtt-corba-gnulinux.so.1.10 => /usr/local/lib/liborocos-rtt-corba-gnulinux.so.1.10 (0x00603000)
libTAO-1.6.3.so => /usr/lib/libTAO-1.6.3.so (0x002d6000)
libTAO_PortableServer-1.6.3.so => /usr/lib/libTAO_PortableServer-1.6.3.so (0x00480000)
liborocos-rtt-gnulinux.so.1.10 => /usr/local/lib/liborocos-rtt-gnulinux.so.1.10 (0x00df8000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0086a000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00275000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00883000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0027e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x002a4000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x009bb000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x002c3000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00545000)
libreadline.so.5 => /lib/libreadline.so.5 (0x0057d000)
libACE-5.6.3.so => /usr/lib/libACE-5.6.3.so (0x0c84a000)
libTAO_CosNaming-1.6.3.so => /usr/lib/libTAO_CosNaming-1.6.3.so (0x005ae000)
libTAO_Messaging-1.6.3.so => /usr/lib/libTAO_Messaging-1.6.3.so (0x00b15000)
libTAO_AnyTypeCode-1.6.3.so => /usr/lib/libTAO_AnyTypeCode-1.6.3.so (0x00b64000)
libTAO_Valuetype-1.6.3.so => /usr/lib/libTAO_Valuetype-1.6.3.so (0x00408000)
libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0x08dfd000)
libxerces-depdom.so.28 => /usr/lib/libxerces-depdom.so.28 (0x00bec000)
/lib/ld-linux.so.2 (0x005e6000)
libTAO_PI-1.6.3.so => /usr/lib/libTAO_PI-1.6.3.so (0x00832000)
libTAO_CodecFactory-1.6.3.so => /usr/lib/libTAO_CodecFactory-1.6.3.so (0x00979000)
libicuuc.so.42 => /usr/lib/libicuuc.so.42 (0x04f6c000)
libicudata.so.42 => /usr/lib/libicudata.so.42 (0xb6986000)

(No subject)

(No subject)

On Jul 5, 2010, at 03:13 , rkraml [..] ... wrote:

> LD_LIBRARY_PATH is not set to anything. The ldd output is the following:
>
> bob@GCPHost:~/Desktop/bes/demos/corba-example$ ldd eclient
> linux-gate.so.1 => (0x002d5000)
> liborocos-deployment-corba-gnulinux.so.1.10 => not found
> liborocos-deployment-gnulinux.so.1.10 => /usr/local/lib/liborocos-deployment-gnulinux.so.1.10 (0x00d53000)

When you rebuilt did ENABLE_CORBA get turned off? I bet that the /usr/loca/lib/liborocos-deployment-corba-gnulinux.* libraries don't exist. Is that correct?
S

(No subject)

Not that I can see. ENABLE_CORBA is ON and the lib file exists (The lib is a link to ...so.1.10.2). Perhaps switching between OMONIORB and TAO, something didnt get cleaned and the lib file or link is corrupted? Here is the listing showing the links:

bob@GCPHost:/usr/local/lib$ ls -lF *corba* lrwxrwxrwx 1 root root 43 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so -> liborocos-deployment-corba-gnulinux.so.1.10 lrwxrwxrwx 1 root root 45 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so.1.10 -> liborocos-deployment-corba-gnulinux.so.1.10.2 -rw-r--r-- 1 root root 174485 2010-07-03 19:51 liborocos-deployment-corba-gnulinux.so.1.10.2 lrwxrwxrwx 1 root root 36 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so -> liborocos-rtt-corba-gnulinux.so.1.10 lrwxrwxrwx 1 root root 38 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so.1.10 -> liborocos-rtt-corba-gnulinux.so.1.10.3 -rw-r--r-- 1 root root 10791307 2010-07-03 19:36 liborocos-rtt-corba-gnulinux.so.1.10.3 bob@GCPHost:/usr/local/lib$

I am not sure why I am seeing the double posted replies. I apologize if yo are a s well as I am not sure I understand the way the forum s/w does the posting. Anyway, I manually deleted all the libraries in /usr/local/lib, did a make clean, and rebuilt everything. Same thing happens. The lib is plainly there in /usr/local.lib along with all the others, yet the example cant find it.

(No subject)

Not that I can see. ENABLE_CORBA is ON and the lib file exists (The lib is a link to ...so.1.10.2). Perhaps switching between OMONIORB and TAO, something didnt get cleaned and the lib file or link is corrupted? Here is the listing showing the links:

bob@GCPHost:/usr/local/lib$ ls -lF *corba* lrwxrwxrwx 1 root root 43 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so -> liborocos-deployment-corba-gnulinux.so.1.10 lrwxrwxrwx 1 root root 45 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so.1.10 -> liborocos-deployment-corba-gnulinux.so.1.10.2 -rw-r--r-- 1 root root 174485 2010-07-03 19:51 liborocos-deployment-corba-gnulinux.so.1.10.2 lrwxrwxrwx 1 root root 36 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so -> liborocos-rtt-corba-gnulinux.so.1.10 lrwxrwxrwx 1 root root 38 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so.1.10 -> liborocos-rtt-corba-gnulinux.so.1.10.3 -rw-r--r-- 1 root root 10791307 2010-07-03 19:36 liborocos-rtt-corba-gnulinux.so.1.10.3 bob@GCPHost:/usr/local/lib$

(No subject)

On Mon, Jul 5, 2010 at 5:28 PM, <rkraml [..] ...> wrote:
> Not that I can see.  ENABLE_CORBA is ON and the lib file exists (The lib is a link to ...so.1.10.2).  Perhaps switching between OMONIORB and TAO, something didnt get cleaned and the lib file or link is corrupted?  Here is the listing showing the links:
>
> bob@GCPHost:/usr/local/lib$ ls -lF *corba*
> lrwxrwxrwx 1 root root       43 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so -> liborocos-deployment-corba-gnulinux.so.1.10
> lrwxrwxrwx 1 root root       45 2010-07-03 15:34 liborocos-deployment-corba-gnulinux.so.1.10 -> liborocos-deployment-corba-gnulinux.so.1.10.2
> -rw-r--r-- 1 root root   174485 2010-07-03 19:51 liborocos-deployment-corba-gnulinux.so.1.10.2
> lrwxrwxrwx 1 root root       36 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so -> liborocos-rtt-corba-gnulinux.so.1.10
> lrwxrwxrwx 1 root root       38 2010-06-30 20:11 liborocos-rtt-corba-gnulinux.so.1.10 -> liborocos-rtt-corba-gnulinux.so.1.10.3
> -rw-r--r-- 1 root root 10791307 2010-07-03 19:36 liborocos-rtt-corba-gnulinux.so.1.10.3
> bob@GCPHost:/usr/local/lib$
>

I would at least try to
export LD_LIBRARY_PATH=/usr/local/lib

and/or run ldconfig as root and then run eclient again. It's there, so
it must be found.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

(No subject)

Well, I am not sure which command did the trick but the example works. Thanks a million.
-Bob

(No subject)

Well, I am not sure which command did the trick but the example works. Thanks a million. -Bob

newbie: corba-example cant find library

I am trying to get the corba example to run. I built orocos with TAO (I couldnt get OMNIORB to work at all). The example compiles OK and actually used to run. I had to re build after trying and failing with OMNIORB and now the program wont run with TAO like it used to. I get the error:

./eclient: error while loading shared libraries: liborocos-deployment-corba-gnulinux.so.1.10: cannot open shared object file: No such file or directory

The library is present and linked in /usr/local/lib to liborocos-deployment-corba-gnulinux.so.1.10.2. I know this has got to be a simple config issue but dont understand why it worked before and after a complete couple or orocos rebuilds, it doenst work.

Running fully updated Ubuntu 10.04 2.6.32-23.

-Bob