sqlite执行出错
在安装sqlite之后,在安装目录下(bld),执行./sqlite test.db 出现如下错误:# ./sqlite3 ctr.db
./sqlite3: line 105: /root/sqliteforuclinux/bld/.libs/lt-sqlite3: cannot execute binary file
./sqlite3: line 105: /root/sqliteforuclinux/bld/.libs/lt-sqlite3: 成功
若是直接执行sqlite test.db,则是:
# sqlite3 test.db
bash: /usr/local/bin/sqlite3: cannot execute binary file
不知道该如何解决?恳请指点,谢谢!
# ll sqlite3
-rwxr-xr-x1 root root 48914月7 17:30 sqlite3
# ll .libs/lt-sqlite3
-rwxr-xr-x1 root root 1014154月7 17:34 .libs/lt-sqlite3
# ll /usr/local/bin/sqlite3
-rwxr-xr-x1 root root 1013394月7 16:39 /usr/local/bin/sqlite3
# file sqlite3
sqlite3: Bourne shell script text executable
# file .libs/lt-sqlite3
.libs/lt-sqlite3: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
# ll /usr/local/bin/sqlite3
-rwxr-xr-x1 root root 1013394月7 16:39 /usr/local/bin/sqlite3
# file /usr/local/bin/sqlite3
/usr/local/bin/sqlite3: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
[ 本帖最后由 albert198511 于 2008-4-7 19:19 编辑 ] Execute arm program on x86 ??
回复 #2 ksh 的帖子
我是按网上的帖子进行编译的在RH企业版里安装的
是不是应该编译进内核然后进行安装? 就像http://www.linuxfans.org/bbs/thread-183325-1-1.html似的?
页:
[1]