首页 炼丹房 帖子详情
MAC编译100%,最后打包出错,求助
收藏
快速回复
炼丹房 问答头脑风暴 1485 2
MAC编译100%,最后打包出错,求助
收藏
快速回复
炼丹房 问答头脑风暴 1485 2

[ 71%] Built target check_symbol
[ 71%] Built target copy_paddle_pybind
[ 99%] Built target paddle_fluid_origin
[100%] Generating build/.timestamp
fatal: no tag exactly matches '0c8fde7dce86ca19d48bc303760cec6079fcd42a'
not an ELF executable
Traceback (most recent call last):
File "setup.py", line 187, in
raise Exception("patch core.so failed, command: %s" % command)
Exception: patch core.so failed, command: patchelf --set-rpath '$ORIGIN/../libs/' /paddle/build/python/paddle/fluid/core.so
python/CMakeFiles/paddle_python.dir/build.make:419: recipe for target 'python/build/.timestamp' failed
make[2]: *** [python/build/.timestamp] Error 1
CMakeFiles/Makefile2:29172: recipe for target 'python/CMakeFiles/paddle_python.dir/all' failed
make[1]: *** [python/CMakeFiles/paddle_python.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

0
收藏
回复
全部评论(2)
时间顺序
J
Jacques_qiao
#2 回复于2018-08

修改一下paddle/python/setup.py.in第186行,加一行 print(command), 看看执行了啥

0
回复
j
jinxuma
#3 回复于2018-08

后边重新执行了一下configure就好了,可能之前失败重启容器没有执行

0
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户