"libpython3.5m.a: 0654-200 Cannot open the specified file" 在 AIX 中编译 Python3 时出错
"libpython3.5m.a: 0654-200 Cannot open the specified file" Error while compiling Python3 in AIX
我尝试在 AIX7.1 中编译 Python3。
我只是按照简单的两个步骤。
./configure
make
但是,在编译时 returns 错误。
nm: libpython3.5m.a: 0654-200 Cannot open the specified file.
nm: No such file or directory
ld: 0711-596 SEVERE ERROR: Object Python/ceval.o
An RLD for section 2 (.data) refers to symbol 0,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
我该如何解决?
在
上有一个关于这个问题的较早的讨论
https://bugs.python.org/issue9799
这似乎是 xlc 编译器对计算 goto 的实现的问题。
解决方案是通过 --without-computed-gotos
关闭此选项
./configure --without-computed-gotos
我尝试在 AIX7.1 中编译 Python3。
我只是按照简单的两个步骤。
./configure
make
但是,在编译时 returns 错误。
nm: libpython3.5m.a: 0654-200 Cannot open the specified file.
nm: No such file or directory
ld: 0711-596 SEVERE ERROR: Object Python/ceval.o
An RLD for section 2 (.data) refers to symbol 0,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
我该如何解决?
在
上有一个关于这个问题的较早的讨论https://bugs.python.org/issue9799
这似乎是 xlc 编译器对计算 goto 的实现的问题。
解决方案是通过 --without-computed-gotos
关闭此选项./configure --without-computed-gotos