[omniORB] omniORB4 on alpha linux?

Duncan Grisby duncan@grisby.org
Mon Dec 2 12:14:00 2002


On Friday 29 November, Ludovic Bertsch wrote:

> omniidl: Could not open IDL compiler module _omniidlmodule.so
> omniidl: Please make sure it is in directory 
> /0/home/lbertsch/src/omniORB-4.0.0/lib
> omniidl: (or set the PYTHONPATH environment variable)
> 
> omniidl: (The error was 
> '/0/home/lbertsch/src/omniORB-4.0.0/lib/_omniidlmodule.so: undefined 
> symbol: PyType_IsSubtype')
> 
> Where is this PyType_IsSubtype symbol defined?

The problem is that you are using the old build mechanism and the
python on your path is not the same as the one you chose in the
platform make file. When omniidl runs, it therefore tries to link with
the wrong Python version, and you get the error you see. The best
solution is to use the autoconf based build, which will rewrite the
omniidl script to use the right Python version.

It is not certain that omniORB works on Alpha Linux. GCC has
historically not supported exceptions in a thread safe way on Alpha,
although the latest versions of gcc 3.2 claim to. Make sure you are
using the latest gcc, otherwise you will get random crashes.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --