We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2020-01-06 22:53:33 +0200 |
I'm trying to build a app with Python3 in it.
But I run into some issues:
%global __python %{__python3}
to use python3 for stripping the package. pip3 install --target=lib/python --ignore-installed matrix-nio
to install the needed libs into the lib dir. I noticed that there is a pvectorc.cpython-37m-x86_64-linux-gnu.so
file inside the lib/python dir. Now when I want to try to run the package I get the error: Error: nothing provides libc.so.6()(64bit) needed by MatrixChat-0.0.1-1.i486
on the emulator and also on a Sailfish device.
What is the way of doing this?
I have done it with a other app and python and that works fine. But it doesn't have compiled .so files.
2 | No.2 Revision |
I'm trying to build a app with Python3 in it.
But I run into some issues:
%global __python %{__python3}
to use python3 for stripping the package. pip3 install --target=lib/python --ignore-installed matrix-nio
to install the needed libs into the lib dir. I noticed that there is a pvectorc.cpython-37m-x86_64-linux-gnu.so
file inside the lib/python dir. Now when I want to try to run the package I get the error: Error: nothing provides libc.so.6()(64bit) needed by MatrixChat-0.0.1-1.i486
on the emulator and also on a Sailfish device.
What is the way of doing this?
I have done it with a other app and python and that works fine. But it doesn't have compiled .so files.
EDIT:
This is probably because I ran pip install on my laptop and not in the sailfish build environment. But it is unknown to me how to do this.