theunsheydenrych
22nd March 2012, 14:24
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
Added after 1 32 minutes:
HI, after playing around with ldconfig, i figured out that the libSymgenAPI.so.1 is not a symbolic link, after i corrected that i could run
sudo ldconfig -v and the chache for ldconfig was updated and libSymgenAPI.so.1 was part of it.
So the Qt.conf file in /etc/ld.so.conf.d/ directory did work for me, according to this post http://www.qtcentre.org/threads/2650...614#post160614
BUt i had to execute the ldconfig -v command for qt to get the shared library at runtime.
So the error:
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
is sorted out.
The error
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
still remains?
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Sometimes i get this error:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Or is my problem more that the shared library is not found by the application, during debugging?
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/26506-amp-quot-warning-GDB-Failed-to-set-controlling-terminal-Invalid-argument%5Cn-quot?p=160614#post160614
but still i get the errors above, and here is it again:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Any help will be highly appreciated
Added after 1 32 minutes:
HI, after playing around with ldconfig, i figured out that the libSymgenAPI.so.1 is not a symbolic link, after i corrected that i could run
sudo ldconfig -v and the chache for ldconfig was updated and libSymgenAPI.so.1 was part of it.
So the Qt.conf file in /etc/ld.so.conf.d/ directory did work for me, according to this post http://www.qtcentre.org/threads/2650...614#post160614
BUt i had to execute the ldconfig -v command for qt to get the shared library at runtime.
So the error:
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
is sorted out.
The error
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
still remains?