| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
What version of QT in linux uses libstdc++.so.5? I need it
Mahmood NT
____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
--
[ signature omitted ]
Mahmood NT wrote: >What version of QT in linux uses libstdc++.so.5? I need it Any version of Qt that is compiled with g++ 3.2 and 3.3. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
> Any version of Qt that is compiled with g++ 3.2 and 3.3. so which? how can I find with what version of gcc, it have been compiled? Mahmood NT ----- Original Message ---- From: Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx Sent: Sunday, December 2, 2007 12:16:33 PM Subject: Re: listdc++ and QT Mahmood NT wrote: >What version of QT in linux uses libstdc++.so.5? I need it Any version of Qt that is compiled with g++ 3.2 and 3.3. -- [ signature omitted ]
Hi, >> Any version of Qt that is compiled with g++ 3.2 and 3.3. > > so which? how can I find with what version of gcc, it have been compiled? Qt is distributed as source code. So you would have to ask those who compiled the Qt library you're currently using. If you're using the system Qt library of a Linux distribution, the version of gcc used to compile Qt does not depend on the version of Qt, it depends on the version of your Linux distribution. -- [ signature omitted ]
>If you're using the system Qt library of a Linux distribution, the version of >gcc used to compile Qt does not depend on the version of Qt, it depends on the >version of your Linux distribution. So why I get this error message: Linker call: -------------- /usr/bin/g++ -o ./tmp_test ./tmp_test.o -L/usr/lib/qt-3.3/lib -L/usr/lib/qt-3.3/lib -Wl,-R/usr/lib/qt-3.3/lib:/usr/lib/qt-3.3/lib -lqt-mt -lm Got the following error messages: --------------------------------- /usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/qt-3.3/lib/libqt-mt.so, may conflict with libstdc++.so.5 /usr/lib/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@xxxxxxxxx' collect2: ld returned 1 exit status Mahmood NT ----- Original Message ---- From: Dimitri <dimitri@xxxxxxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx Sent: Sunday, December 2, 2007 1:21:35 PM Subject: Re: listdc++ and QT Hi, >> Any version of Qt that is compiled with g++ 3.2 and 3.3. > > so which? how can I find with what version of gcc, it have been compiled? Qt is distributed as source code. So you would have to ask those who compiled the Qt library you're currently using. If you're using the system Qt library of a Linux distribution, the version of gcc used to compile Qt does not depend on the version of Qt, it depends on the version of your Linux distribution. -- [ signature omitted ]
Hi, > So why I get this error message: You're using a different compiler than the one Qt was built with. -- [ signature omitted ]
Mahmood NT wrote: > > So why I get this error message: > > Linker call: > -------------- > /usr/bin/g++ -o ./tmp_test ./tmp_test.o -L/usr/lib/qt-3.3/lib -L/usr/lib/qt-3.3/lib -Wl,-R/usr/lib/qt-3.3/lib:/usr/lib/qt-3.3/lib -lqt-mt -lm > Got the following error messages: > --------------------------------- > /usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/qt-3.3/lib/libqt-mt.so, may conflict with libstdc++.so.5 > /usr/lib/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@xxxxxxxxx' > collect2: ld returned 1 exit status > > Seems that your Qt libraries were compiled with GCC 4.x and you're trying to compile your app with GCC 3.x. Try either getting other Qt libs, compiled with GCC 3.x or upgrade your compiler to GCC 4.x. You may also try "ldd" to find out which shared libraries libqt-mt.so depends on. Was this Qt install part of your current distribution or a self compiled one? - sorry, first one sent to you in private - -- [ signature omitted ]
> You're using a different compiler than the one Qt was built with. Thats why I asked for the version of QT that was compiled with libstdc++.so.5. But you said that it is independent of gcc version Mahmood NT ----- Original Message ---- From: Dimitri <dimitri@xxxxxxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx Sent: Sunday, December 2, 2007 1:58:26 PM Subject: Re: listdc++ and QT Hi, > So why I get this error message: You're using a different compiler than the one Qt was built with. -- [ signature omitted ]
> Seems that your Qt libraries were compiled with GCC 4.x and you're >trying to compile your app with GCC 3.x. yes exaclty, >Try either getting other Qt >libs, compiled with GCC 3.x It was my first question. If no body knows which version of QT was compiled with GCC 3.3, then I have to do trial and error by reducing QT version and check whether it works or not. > or upgrade your compiler to GCC 4.x the default gcc came with FC5 is 4.1 (I think). but my code is not compatible with gcc > 3.4 >Was this Qt install part of your current distribution or a self compiled one? it was installed as I said, during FC5 installation and not self compiled. --- I did the same mistake as you :D Mahmood NT ----- Original Message ---- From: Ferenc Stelcz <ferenc@xxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx Sent: Sunday, December 2, 2007 2:25:56 PM Subject: Re: listdc++ and QT Mahmood NT wrote: > > So why I get this error message: > > Linker call: > -------------- > /usr/bin/g++ -o ./tmp_test ./tmp_test.o -L/usr/lib/qt-3.3/lib -L/usr/lib/qt-3.3/lib -Wl,-R/usr/lib/qt-3.3/lib:/usr/lib/qt-3.3/lib -lqt-mt -lm > Got the following error messages: > --------------------------------- > /usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/qt-3.3/lib/libqt-mt.so, may conflict with libstdc++.so.5 > /usr/lib/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@xxxxxxxxx' > collect2: ld returned 1 exit status > > Seems that your Qt libraries were compiled with GCC 4.x and you're trying to compile your app with GCC 3.x. Try either getting other Qt libs, compiled with GCC 3.x or upgrade your compiler to GCC 4.x. You may also try "ldd" to find out which shared libraries libqt-mt.so depends on. Was this Qt install part of your current distribution or a self compiled one? - sorry, first one sent to you in private - -- [ signature omitted ]
Mahmood NT wrote: > It was my first question. If no body knows which version of QT was compiled with GCC 3.3, then I have to do trial and error by reducing QT version and check whether it works or not. > > Try for example rpmfind.net. Look for qt 3.x rpm-s for FC 5 which depend on libstdc++.so.5. Only packagers of FC 5 rpms may know which compiler they use for which release. imho > the default gcc came with FC5 is 4.1 (I think). but my code is not compatible with gcc > 3.4 > > See above. Try downgrading GCC to < 3.4.x. If your code is not compatible with gcc >=3.4 then it won't compile on 4.1 with or without Qt. Right? -- [ signature omitted ]
Ferenc Stelcz wrote: [...] Blah... forget about downgrading. Have google'd around and nobody suggests it. May worth a try to get the compat libs for gcc, and an other qt... -- [ signature omitted ]
>Try for example rpmfind.net. Look for qt 3.x rpm-s for FC 5 which depend >on libstdc++.so.5. >Only packagers of FC 5 rpms may know which compiler they use for which >release. imho Thanks, I will look at it >See above. Try downgrading GCC to < 3.4.x. If your code is not >compatible with gcc >=3.4 then it won't compile on 4.1 with or without >Qt. Right? the code can be compiled with GCC 3.3 I will work around with it, thanks, Mahmood NT ----- Original Message ---- From: Ferenc Stelcz <ferenc@xxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx Sent: Sunday, December 2, 2007 3:20:57 PM Subject: Re: listdc++ and QT Mahmood NT wrote: > It was my first question. If no body knows which version of QT was compiled with GCC 3.3, then I have to do trial and error by reducing QT version and check whether it works or not. > > Try for example rpmfind.net. Look for qt 3.x rpm-s for FC 5 which depend on libstdc++.so.5. Only packagers of FC 5 rpms may know which compiler they use for which release. imho > the default gcc came with FC5 is 4.1 (I think). but my code is not compatible with gcc > 3.4 > > See above. Try downgrading GCC to < 3.4.x. If your code is not compatible with gcc >=3.4 then it won't compile on 4.1 with or without Qt. Right? -- [ signature omitted ]
actually it get solved. I installed QT 3.2 on FC5 that earlier I reduce the default GCC (4.1) to 3.3.
and now it works.... :)
thanks thiago, ference, dimitri and other friend,.....
Mahmood NT
----- Original Message ----
From: Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx>
To: Mahmood NT <nt_mahmood@xxxxxxxxx>
Sent: Sunday, December 2, 2007 5:47:21 PM
Subject: Re: listdc++ and QT
Mahmood NT wrote:
>> Any version of Qt that is compiled with g++ 3.2 and 3.3.
>
>so which? how can I find with what version of gcc, it have been
> compiled?
Type:
gcc -v
when you compile.
PS: please post to the list.
--
[ signature omitted ]