在一台centos 5.4 64bit机器上,不能使用Qt的debug模式。在termina下键入gdb,提示
gdb:error while loading shared libraries: libexpat.so.1: cannot open open shared object file: No such file or directory.
yum install expat
发现已经安装
ln -s /usr/lib/libexpat.so /usr/lib/libexpat.so.1 (32 bit)
ln -s /usr/lib64/libexpat.so /usr/lib64/libexpat.so.1 (64 bit)
即可解决该问题
gdb能正常运行,但是在Qt运行debug模式时,提示:
Undefined command:"bb",Try "help"
This is a bug in gdb.
I am seeing such crashes myself too every now and then.
Unfortunately there is really nothing Qt Creator can do here.
By the way: By now there is a newer version of gdb for Symbian available
(based on 6.8.50), maybe you have more luck with that version.

在CentOS5.4 64位机器上遇到Qt调试模式无法使用的问题,通过安装expat库并创建软链接解决了gdb加载共享库失败的错误。然而,在使用Qt进行调试时,遇到了未定义命令'bb'的问题,这可能与gdb版本不兼容,建议尝试更新gdb版本或使用其他相关解决方案。

3459

被折叠的 条评论
为什么被折叠?



