小编rtk*_*eta的帖子

在制作共享对象时,不能使用针对'_Py_NotImplementedStruct'的重定位R_X86_64_32S; 用-fPIC重新编译

我正在尝试安装dlibPython库.在某些系统(macOS,股票Ubuntu 14.04)pip install dlib工作正常,但在我们的CircleCI环境的Ubuntu 14.x中,它失败并出现以下错误.

Linking CXX shared library dlib.so
   /usr/bin/ld: /opt/circleci/python/2.7.11/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against '_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
   error: cmake build failed!
Run Code Online (Sandbox Code Playgroud)

可能有什么不对?

python dlib

11
推荐指数
1
解决办法
4901
查看次数

标签 统计

dlib ×1

python ×1