Repository navigation
Python 3.6 不能产生 libpython3.6m.so 文件 #106
shenweiyan
announced in
1.3-软件
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
在 Python-3.6.9 中测试
Cheetah包的时候遇到了找不到libpython3.6m.so.1.0静态库,记录一下填坑。编译第三方静态库,在
configure阶段需要增加--enable-shared CFLAGS=-fPIC参数!在安装后,才会在
/usr/local/python3/lib目录下产生libpython3.6m.so和libpython3.6m.so.1.0两个文件。如果不加上面的添加,产生的文件是libpython3.6m.a。All reactions