openwrt安装ipk报错“incompatible with the architectures configured”

在高通平台上安装ipk的时候报了下面的错:

Unknown package 'php7-mod-sqlite3'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for php7-mod-sqlite3 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package php7-mod-sqlite3.

显然是架构不对,看了一眼9533的cpuinfo

cat /proc/cpuinfo 
system type             : Qualcomm Atheros QCA9533 ver 2 rev 0
machine                 : xxxxx
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 432.53
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

原来是MIPS 24Kc,ipk的包用错了php7-mod-sqlite3_7.2.16-1_mipsel_24kc.ipk,应该使用php7-mod-sqlite3_7.2.16-1_mip_24kc.ipk。妹的,尴尬。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值