Quote:
Originally Posted by mapreri
Actually the problem is that sigil has a buggy FindPythonLibs.cmake that is only able to discover libpython3.4m.so (or whatever) only amd64 and i386. In Debian we do multiarch, so libraries are in /usr/lib/<GNU arch triplet>, e.g. for arm64 is '/usr/lib/aarch64-linux-gnu/libpython3.4m.so'. Anyway, I made up a simple patch for that and seems everything builds now. I'm not sure if this is the correct approach, once I convince myself it is I'll open a PR 
|
Please note that there are cmake instuctions that can be used to specify the exact libpython and python include files you want sigil to link against. These are documented in the BuildingOnLinux document(s) in the docs directory.
I already modified the FindPythonLibs.cmake file to include the two main multi-arch <GNU arch triplet> locations. It wasn't finding ANY of the distro-installed libpythons prior to that. If we can beef up that cmake file to include even more architectures, I'd be happy to incorporate those changes into the original source--when you're ready to make a pull request.