Error: nothing provides libc.so.6()(64bit) needed by
I'm trying to build a app with Python3 in it.
But I run into some issues:
- In the rpm spec I use
%global __python %{__python3}
to use python3 for stripping the package. - I have used
pip3 install --target=lib/python --ignore-installed matrix-nio
to install the needed libs into the lib dir. I noticed that there is apvectorc.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.
Every component (library) of your software has to be compiled as 32bit binaries to be successfully run on Sailfish OS (as of now). This even holds true on 64bit kernels. It looks like some pieces of your build system are 64bit.
Maus ( 2020-01-06 23:35:51 +0200 )editTo me I'm doing it wrong, during package build I want to do the pip install inside the build container. So that everything is correct for the architecture. Even for Arm and 486 builds. Doing this outside the build environment seems hard (unknown) to me. So I'm curious on how this "should" be done?
Here are some config files: https://gist.github.com/johansmitsnl/94d7305065087a0a077f08bede35eaed
Johan Smits ( 2020-01-07 08:38:31 +0200 )editProbably you can have some inspirations here: https://gitlab.com/cy8aer/bluepill/tree/nio (build dir and .gitlab-ci.yml/.drone.yml)
cy8aer ( 2020-01-10 09:17:02 +0200 )edit@cy8aer do you have a matrix ID to have a chat with you? mine is: @johan.smits:smitsmail.net and I'm testing you nio branch but I have some questions.
Wanting to test/support your project instead of making a new one.
Johan Smits ( 2020-01-10 23:03:55 +0200 )edit