macos 安装 cx_oracle 版本 5.2 报错 ld: file not found: crt3.o

2018-03-25 18:34:47 +08:00
 nightstart

因为需要用到一些 oracle,所以想在本地装一个 cx_oracle 但是一直遇到报错 试了网上的好多方法都没用 最主要的报错就是这一条 ld: file not found: crt3.o

我是 macos Sierra python 版本是 2.7.13 安装的版本是 pip install cx_oracle==5.2

gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.4-x86_64-2.7-12c/src/cx_Oracle.o -L/usr/local/oracle -lclntsh -o build/lib.macosx-10.4-x86_64-2.7-12c/cx_Oracle.so -shared-libgcc -Wl,-rpath,/usr/local/oracle
ld: file not found: crt3.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1

希望各位 v 友能够帮帮忙。 献上自己的膝盖先

1169 次点击
所在节点    问与答
2 条回复
nightstart
2018-03-25 19:35:07 +08:00
求===============================
nightstart
2018-03-26 13:36:47 +08:00
emmmmmm

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/441269

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX