[omniORB] omniORBpy 2.2 and AIX : problem in ORB_init()

Duncan Grisby duncan at grisby.org
Fri Aug 29 13:19:45 BST 2003


On Tuesday 19 August, Thomas BARON wrote:

[...]
> So I returned to old build system, and get OO and OOpy to build for my 
> system. No particular problem for that.
> And now, a new problem at runtime : when trying in a Python code (under 
> AIX) to initialize the ORB ( using CORBA.ORB_init(sys.argv,CORBA.ORB_ID) 
> ), I get an exception with a message just before "omniORB: ORB_init 
> failed : unknown option (id) in argument" (coming from corbaOrb.cc in 
> src/lib/omniORB/orbcore, line 571). Running the same code on Linux or 
> IRIX (built with new build system) causes no error at all.
> But obviously, CORBA.ORB_ID is good : "omniORB4" on every platform.

That error is a sign that static initialisers in the omniORB library
are not being run when Python opens the library. Linking Python's main
with C++ might well help.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list