QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1862|回复: 0

sqlite执行出错

[复制链接]
发表于 2008-4-7 18:26:43 | 显示全部楼层 |阅读模式
在安装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 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 00:40 , Processed in 0.039869 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表