gpt4 book ai didi

c++ - 有人曾经在 RHEL 上构建过 omniORB 吗?

转载 作者:太空狗 更新时间:2023-10-29 12:06:01 26 4
gpt4 key购买 nike

我正在尝试在 RHEL 5.5 上构建 omniORB 库。

我尝试用

运行配置

CC=gcc 和 CXX=g++ 和 PYTHON=bin/omnipython

我在提示的地方遇到了这个问题

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')

因此,我尝试改用英特尔 C++ 编译器

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

但是,现在它提示 ../../../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: undefined symbol: __cxa_pure_virtual')

操作系统是采用 x86_64 架构的 RHEL 5.5,我正在尝试构建 32 位二进制文​​件。将不胜感激对这个问题的任何见解。

最佳答案

那是因为 omniidl 是作为 Python 扩展模块实现的。您使用的 Python 可执行文件是 64 位可执行文件,因此它无法加载 32 位库。

检查一下 http://objectmix.com/object/196129-compiling-omniorb-32bits-libraries-64bits-machine-suse.html

关于c++ - 有人曾经在 RHEL 上构建过 omniORB 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12143049/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com