[OpenWrt-Devel] Cannot build python3

Jan Kardell jan.kardell at telliq.com
Thu Sep 27 04:53:16 EDT 2018


Hi,

I cannot build the host python3 _ctypes module. Some more info on 
https://forum.openwrt.org/t/error-building-python3-on-opensuse/21764 .
I'm building OpenWRT 18.06.1 on openSUSE LEAP 15.0.

The _ctypes module is linked against 
staging_dir/hostpkg/lib/libffi.so.6, but when doing the import test, it 
searches /usr/lib64. And it has libffi.so.7, so the test fails.

Building on ubuntu works, it probably finds 
/usr/lib/x86_64-linux-gnu/libffi.so.6.

Don't know how to fix this.

//Jan

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list