-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker aarch64构建失败 #843
Comments
你用的compile镜像是什么版本?用最新的镜像试试: docker pull tugraph/tugraph-compile-centos7:1.3.5 |
用的ci/images下tugraph-compile-arm64v8-centos7-Dockerfile,直接构建的 |
不建议用Dockerfile直接构建,想安装TuGraph的话,建议直接拉镜像,如果是你arm环境可以拉这个:docker pull tugraph/tugraph-runtime-arm64v8-centos7:4.5.1 |
好的,之前同事拉的4.1.0的版本运行会挂,才想重新编译下看看 |
似乎又回到编译问题上了............. |
docker pull tugraph/tugraph-compile-arm64v8-centos7:1.3.4 这个是arm的编译镜像,用这个镜像编译tag是4.5.1的tugraph-db代码应该是可以编译过的。不要编译最新的代码,最新的代码加了点三方库,arm编译镜像里面还没有来得及添加。 |
https://tugraph-web.oss-cn-beijing.aliyuncs.com/tugraph/tugraph-4.5.1/tugraph-4.5.1-1.el7.aarch64.rpm 在你的tugraph/tugraph-runtime-arm64v8-centos7:4.5.1容器中重新安装一下tugraph-4.5.1-1.el7.aarch64.rpm,用如下命令: |
安装rpm后可以了,谢谢 |
[ 77%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/ops/op_gql_merge.cpp.o
[ 77%] Linking CXX executable ../output/algo/feature_float_embed
../output/liblgraph.so: undefined reference to
sgesvd_' ../output/liblgraph.so: undefined reference to
dsyev_'../output/liblgraph.so: undefined reference to
dgetrf_' ../output/liblgraph.so: undefined reference to
sgetrf_'../output/liblgraph.so: undefined reference to
sgelsd_' ../output/liblgraph.so: undefined reference to
dgesvd_'../output/liblgraph.so: undefined reference to
sgetri_' ../output/liblgraph.so: undefined reference to
dgetri_'collect2: 错误:ld 返回 1
make[2]: *** [output/algo/trustrank_embed] Error 1
make[1]: *** [procedures/CMakeFiles/trustrank_embed.dir/all] Error 2
[ 77%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/ops/op_node_by_id_seek.cpp.o
../output/liblgraph.so: undefined reference to
sgesvd_' ../output/liblgraph.so: undefined reference to
dsyev_'../output/liblgraph.so: undefined reference to
dgetrf_' ../output/liblgraph.so: undefined reference to
sgetrf_'../output/liblgraph.so: undefined reference to
sgelsd_' ../output/liblgraph.so: undefined reference to
dgesvd_'../output/liblgraph.so: undefined reference to
sgetri_' ../output/liblgraph.so: undefined reference to
dgetri_'collect2: 错误:ld 返回 1
make[2]: *** [output/algo/feature_float_embed] Error 1
make[1]: *** [procedures/CMakeFiles/feature_float_embed.dir/all] Error 2
[ 77%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/ops/op_traversal.cpp.o
[ 77%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/ops/op_gql_remove.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/scheduler.cpp.o
[ 78%] Linking CXX shared library ../output/liblgraph_python_api.so
[ 78%] Built target lgraph_python_api
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/filter/filter.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/filter/iterator.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/graph/graph.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/graph/node.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/graph/relationship.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/grouping/group.cpp.o
[ 78%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/cypher_base_visitor.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/cypher_base_visitor_v2.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/cypher_error_listener.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/expression.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/symbol_table.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/generated/LcypherLexer.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/generated/LcypherParser.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/parser/generated/LcypherVisitor.cpp.o
[ 79%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/procedure/procedure.cpp.o
[ 80%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/procedure/utils.cpp.o
[ 80%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/resultset/record.cpp.o
[ 80%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/monitor/monitor_manager.cpp.o
[ 80%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/optimization/rewrite/schema_rewrite.cpp.o
[ 80%] Building CXX object src/CMakeFiles/lgraph_cypher_lib.dir/cypher/execution_plan/optimization/rewrite/graph.cpp.o
[ 80%] Linking CXX static library ../output/liblgraph_cypher_lib.a
The text was updated successfully, but these errors were encountered: