[omniORB] RE: gcc-3.1 solaris 8 problems

Mark Zimmerman markzimm@frii.com
Tue Feb 4 15:15:02 2003


On Mon, Feb 03, 2003 at 09:08:10PM -0000, Sonia Duarte wrote:
> Hello!
> 
> I am trying to compile omniORB-4.0.0, my O.S. is Solaris 8 and I am using
> gcc-3.1. I have the environment variable LD_LIBRARY_PATH set. 
> I am using python version 2.1.1.
> 
>  Any suggestions?
> 
> 
> omniidl: ERROR!
> 
> omniidl: Could not open IDL compiler module _omniidlmodule.so
> omniidl: Please make sure it is in directory
> /export/home/sgd/2_omniORB/omniORB-4.0.0/build/lib
> omniidl: (or set the PYTHONPATH environment variable)
> 
> omniidl: (The error was 'ld.so.1: /usr/local/bin/python: fatal: relocation
> error: file
> /export/home/sgd/2_omniORB/omniORB-4.0.0/build/lib/_omniidlmodule.so: symbol
> __eprintf: referenced symbol not found')
> 

Sonia,

I suspect that you may have compiled python with an older version of
gcc and this may give you problems. You didn't mention the contents of
LD_LIBRARY_PATH so please do an ldd on /usr/local/bin/python and make
sure that the path for the gcc runtime libraries is in your
LD_LIBRARY_PATH. If it is, then also do an ldd on _omniidlmodule.so
and see what paths it needs. If you need two different versions of any
gcc libraries then this may not work until you rebuild python with
gcc-3.1.

I built python 2.1.3 and omniORB-4.0.0 on solaris 8 with gcc 3.2.1 and
it worked fine.

-- Mark