|
在安装sqlite之后,在安装目录下(bld),执行./sqlite test.db 出现如下错误:
[root@localhost bld]# ./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,则是:
[root@localhost bld]# sqlite3 test.db
bash: /usr/local/bin/sqlite3: cannot execute binary file
不知道该如何解决?恳请指点,谢谢!
[root@localhost bld]# ll sqlite3
-rwxr-xr-x 1 root root 4891 4月 7 17:30 sqlite3
[root@localhost bld]# ll .libs/lt-sqlite3
-rwxr-xr-x 1 root root 101415 4月 7 17:34 .libs/lt-sqlite3
[root@localhost bld]# ll /usr/local/bin/sqlite3
-rwxr-xr-x 1 root root 101339 4月 7 16:39 /usr/local/bin/sqlite3
[root@localhost bld]# file sqlite3
sqlite3: Bourne shell script text executable
[root@localhost bld]# 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
[root@localhost bld]# ll /usr/local/bin/sqlite3
-rwxr-xr-x 1 root root 101339 4月 7 16:39 /usr/local/bin/sqlite3
[root@localhost bld]# 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:25 编辑 ] |
|