title: Has anyone ever built omniORB on RHEL?
body: <p>I am trying to build omniORB libraries on RHEL 5.5.</p>
  
  <p>I tried running configure with </p>
  
  <p>CC=gcc and CXX=g++ and PYTHON=bin/omnipython</p>
  
  <p>I run into this problem where it complains about </p>
  
  <pre><code>gmake[3]: Entering directory `/home/local/NT/jayanthv/omniORB-4.1.4/src/lib/omniORB'
  ../../../bin/omniidl -bcxx -p../../../src/lib/omniORB -Wbdebug -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
  
  
  omniidl: ERROR!
  
  omniidl: Could not open IDL compiler module _omniidlmodule.so
  omniidl: Please make sure it is in directory /home/local/NT/jayanthv/omniORB-4.1.4/lib
  omniidl: (or set the PYTHONPATH environment variable)
  
  omniidl: (The error was '/home/local/NT/jayanthv/omniORB-4.1.4/lib/_omniidlmodule.so: wrong ELF class: ELFCLASS64')
  </code></pre>
  
  <p>So, I tried to use the Intel C++ compiler instead, with</p>
  
  <pre><code>export CXX=/opt/intel/Compiler/11.1/080/bin/ia32/icc
  export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/080/lib/ia32
  export PYTHON=/home/local/NT/jayanthv/omniORB-4.1.4/bin/omnipython
  </code></pre>
  
  <p>But, now it complains about 
      ../../../bin/omniidl -bcxx -p../../../src/lib/omniORB -Wbdebug -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl</p>
  
  <pre><code>omniidl: ERROR!
  
  omniidl: Could not open IDL compiler module _omniidlmodule.so
  omniidl: Please make sure it is in directory /home/local/NT/jayanthv/omniORB-4.1.4/lib
  omniidl: (or set the PYTHONPATH environment variable)
  
  omniidl: (The error was '/home/local/NT/jayanthv/omniORB-4.1.4/lib/_omniidlmodule.so: undefined symbol: __cxa_pure_virtual')
  </code></pre>
  
  <p>The OS is RHEL 5.5 with x86_64 architecture, and I am trying to build the 32 bit binaries. Would appreciate any insight into this problem.</p>