[omniORB] Solution - PyFile_Type: referenced symbol not found

Alan J. Wylie alanw@uk.cyrano.com
Fri, 15 Dec 2000 14:46:23 +0000


Python-1.5.2
omniORB_302
Solaris 2.6/SunOS 5.6
gcc: egcs-2.91.66

When Python is built with gcc, I get the following error
when building omniORB

------------------------------------------------------------------------------
make[2]: Entering directory `/work/alanw/Opensta.ajw/ostaw32/ext/omniORB_302/src/lib/omniORB2'
../../../bin/sun4_sosV_5.6/omniidl -bcxx -Wba -p../../../src/lib/omniORB2  -ComniORB3 ../../../idl/Naming.idl


omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory /work/alanw/Opensta.ajw/ostaw32/ext/omniORB_302/lib/sun4_sosV_5.6
omniidl: (or set the PYTHONPATH environment variable)

omniidl: (The error was `ld.so.1: python: fatal: relocation error: file /work/alanw/Opensta.ajw/ostaw32/ext/omniORB_302/lib/sun4_sosV_5.6/_omniidlmodule.so: symbol PyFile_Type: referenced symbol not found')


make[2]: *** [omniORB3/Naming.hh] Error 1
------------------------------------------------------------------------------

Building Python with cc fixes the problem.

./configure  --without-gcc

I note that this problem was mentioned earlier this year, without
a solution being found.

-- 
Alan J. Wylie (Cyrano UK Ltd.) | mailto:alanw@uk.cyrano.com
http://www.cyrano.com/         | http://www.glaramara.freeserve.co.uk/
-
The Internet of the 21st century is a virtual Klondike. Now, as then,
there is more money to be made selling picks and shovels than prospecting.
It is even *more* profitable to be running the assay office.