在一台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.