[omniORB] Compilation problem gcc2.95.2 omni3.0.2 Solaris2.6

Aleksey Varzhel lesha12@hotmail.com
Mon, 29 Jan 2001 10:27:03 -0800


I have compiled Python 1.5.2 and the file mk/platforms/sun4_sosV_5.6.mk
contains a link to /usr/local/bin/python.

Regarding "stripping" my python executable I am not sure what it is. I'm not
familiar with Python and I've installed it to support omniORB only.
Could you advise how I can check if it was stripped ?

Thank you.


----- Original Message -----
From: "Duncan Grisby" <dgrisby@uk.research.att.com>
To: "Aleksey Varzhel" <lesha12@hotmail.com>
Cc: <omniorb-list@uk.research.att.com>
Sent: Monday, January 29, 2001 9:59 AM
Subject: Re: [omniORB] Compilation problem gcc2.95.2 omni3.0.2 Solaris2.6


> On Monday 29 January, "Aleksey Varzhel" wrote:
>
> > omniidl: (The error was `ld.so.1: python: fatal: relocation error: file
> > /usr/local/omni/lib/sun4_sosV_5.6/_omniidlmodule.so: symbol
_Py_NoneStruct:
> > referenced symbol not found')
>
> That normally happens when you try to use the _omniidl library with a
> different version of Python to the one it was compiled against. Make
> sure that the "python" on your path is the same version of Python as
> the one specified in the mk/platforms/sun4_sosV_5.6.mk file.
>
> Alternatively, have you stripped your python executable?  If so, the
> symbols in it won't be available to the omniidl extension.
>
> Cheers,
>
> Duncan.
>
> --
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --
>
>