V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nightstart
V2EX  ›  问与答

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

  •  
  •   nightstart · 2018-03-25 18:34:47 +08:00 · 1156 次点击
    这是一个创建于 2224 天前的主题,其中的信息可能已经有所发展或是发生改变。

    因为需要用到一些 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 友能够帮帮忙。 献上自己的膝盖先

    2 条回复    2018-03-26 13:36:47 +08:00
    nightstart
        1
    nightstart  
    OP
       2018-03-25 19:35:07 +08:00
    求===============================
    nightstart
        2
    nightstart  
    OP
       2018-03-26 13:36:47 +08:00
    emmmmmm
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2233 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:38 · PVG 08:38 · LAX 17:38 · JFK 20:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.