DBD-Oracle 1.74 install with Oracle Client 12.1.0.2

时间:2015-06-25 18:43:09

标签: oracle perl gcc aix

System environment is: OS: AIX 7.1 TL3 SP5 Perl: 5.22.0 with DBI 1.633 gcc: 4.8.3 Oracle: Client 12.1.0.2.3 (Administrator install) Running make stops on this error: gcc: error: unrecognized command line option '-bI:/usr/lib/iocp.exp' Originally, client 12.1.0.1.7 was installed, I was able to install DBD-Oracle with that version, but not with the new update. When installing the new client, I had to enable iocp (I/O Completion Ports) in AIX in order to install it. That seems to be what gcc is complaining about. Has anyone had any luck with this version of Oracle client/DBD-Oracle?

2 个答案:

答案 0 :(得分:1)

嗯, -bI:/usr/lib/iocp.exp 是链接器的选项,而不是gcc;编辑有问题的脚本/ Makefile,将其更改为 -Wl,-bI:/usr/lib/iocp.exp

答案 1 :(得分:0)

这样做,Makefile中有2个位置需要更改。文件中还有其他地方我看到-Wl,-bI但由于某种原因不在iocp线上。

感谢您的帮助。