[omniORB] ImportError: libomniORB3.so.0: cannot open shared object file: No such file or directory

Duncan Grisby dgrisby@uk.research.att.com
Mon, 05 Feb 2001 10:55:25 +0000


On Sunday 4 February, aboufer@atlsci.com wrote:

> As the subject of this message states, I am getting an error
> whenever libomniORB3 is imported. Python seems not be able to find
> the correct shared library although (I have checked) they do exist
> as logical links to the latest version of the library:
> 
>     libomniORB3.so --> libomniORB3.so.0
>     libomniORB3.so.0 --> libomniORB.so.0.2

The problem is probably that libomniORB3.so is not on your
LD_LIBRARY_PATH (or somewhere else searched by ld.so). The confusing
thing is that _omnipymodule.so is found on PYTHONPATH, but
libomniORB3.so is found by the normal run-time linker. That means
Python can find one but not the other, despite the fact that they are
in the same place.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --