Open heuer opened 7 months ago
Hmmm... I looked at the previous releases: pywlroots always had the "libs" directory with the libraries... Strange that this wasn't a problem for my installation before.
The pywlroots-0.16.7-cp311-cp311-linux_aarch64.whl
comes w/o the libs.
It just contains the _ffi.abi3.so
(in the wlroots directory):
drwxr-xr-x 5 user user 4096 17. Apr 18:24 .
drwxr-xr-x 3 user user 4096 17. Apr 18:25 ..
-rw-r--r-- 1 user user 1200 17. Apr 03:39 allocator.py
-rw-r--r-- 1 user user 3979 17. Apr 03:39 backend.py
-rw-r--r-- 1 user user 20 17. Apr 07:45 _build.py
-rwxr-xr-x 1 user user 1092288 17. Apr 07:45 _ffi.abi3.so
-rw-r--r-- 1 user user 95775 17. Apr 03:39 ffi_build.py
-rw-r--r-- 1 user user 1150 17. Apr 03:39 helper.py
drwxr-xr-x 2 user user 4096 17. Apr 18:24 include
-rw-r--r-- 1 user user 2650 17. Apr 03:39 __init__.py
-rw-r--r-- 1 user user 0 17. Apr 03:39 py.typed
-rw-r--r-- 1 user user 3934 17. Apr 03:39 renderer.py
drwxr-xr-x 2 user user 4096 17. Apr 18:24 util
-rw-r--r-- 1 user user 50 17. Apr 03:39 version.py
drwxr-xr-x 2 user user 4096 17. Apr 18:24 wlr_types
-rw-r--r-- 1 user user 13827 17. Apr 03:39 xwayland.py
So, I wonder why other wheels ship with the libs
pywlroots 0.16.8 has the same problem. I cannot install pywlroots with pip unless I explicitly specify that the source code package should be used because the shipped libraries in the /lib
subdirectory are incompatible with my system. And libraries like "libsystemd" or "libselinux" have nothing to do with the function of wlroots/pywlroots.
Aside from the fact that the libraries may be incompatible with the host system, this could also pose legal problems since pywlroots is under the NCSA license, which may not apply to all libraries distributed with pywlroots.
Still relevant for 0.17
I updated my project to pywlroots 0.16.7 and got the following error:
Installing from the source package works:
The reason for the above mentioned error is, that the wheel provides libs which do not necessarily match the host machine:
Solution: Remove the libs from the wheel.