* [ptxdist] qt4 - openssl support: symbol lookup error: undefined symbol: _ZN10QSslSocket11supportsSslEv
@ 2013-09-27 12:42 Matthias Klein
2013-09-27 13:14 ` Jürgen Beisert
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Klein @ 2013-09-27 12:42 UTC (permalink / raw)
To: ptxdist
Hello,
in a working BSP project I need SSL support in QT4. Therefore I have
enabled PTXCONF_QT4_OPENSSL.
I have rebuiled QT4 without problems by clean & targetinstall.
In a small test application I tried to verify SSL:
#include <QSslSocket>
if(QSslSocket::supportsSsl())
...
The app compiles fine, but when I run them on the target I get:
./sslTest: symbol lookup error: ./sslTest: undefined symbol:
_ZN10QSslSocket11supportsSslEv
I tried to verify that the function is in the Network library of Qt:
$ arm-cortexa8-linux-gnueabihf-objdump -d
platform-tx53/root/usr/lib/libQtNetwork.so | grep supportsSsl
2c428: eb0215f4 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
abea8: eb001754 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
afe58: eb000768 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
afed8: eb000748 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
b07cc: eb00050b bl b1c00 <_ZN10QSslSocket11supportsSslEv>
For me it looks OK.
Then I did a complete ptxdist distclean & go cycle for safety, but the
result is the same ...
Besides SSL QT4 runs fine on the target. (The BSP use ptxdist-2013.09.0
& OSELAS Toolchain 2012.12.1 arm-cortexa8-linux-gnueabihf)
Did I something wrong ?
Any tips what I can do / investigate ?
Best regards,
Matthias
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] qt4 - openssl support: symbol lookup error: undefined symbol: _ZN10QSslSocket11supportsSslEv
2013-09-27 12:42 [ptxdist] qt4 - openssl support: symbol lookup error: undefined symbol: _ZN10QSslSocket11supportsSslEv Matthias Klein
@ 2013-09-27 13:14 ` Jürgen Beisert
0 siblings, 0 replies; 2+ messages in thread
From: Jürgen Beisert @ 2013-09-27 13:14 UTC (permalink / raw)
To: ptxdist, Matthias Klein
Hi Matthias,
On Friday 27 September 2013 14:42:48 Matthias Klein wrote:
> in a working BSP project I need SSL support in QT4. Therefore I have
> enabled PTXCONF_QT4_OPENSSL.
> I have rebuiled QT4 without problems by clean & targetinstall.
>
> In a small test application I tried to verify SSL:
>
> #include <QSslSocket>
> if(QSslSocket::supportsSsl())
> ...
>
> The app compiles fine, but when I run them on the target I get:
>
> ./sslTest: symbol lookup error: ./sslTest: undefined symbol:
> _ZN10QSslSocket11supportsSslEv
>
>
> I tried to verify that the function is in the Network library of Qt:
>
> $ arm-cortexa8-linux-gnueabihf-objdump -d
> platform-tx53/root/usr/lib/libQtNetwork.so | grep supportsSsl
> 2c428: eb0215f4 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
> abea8: eb001754 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
> afe58: eb000768 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
> afed8: eb000748 bl b1c00 <_ZN10QSslSocket11supportsSslEv>
> b07cc: eb00050b bl b1c00 <_ZN10QSslSocket11supportsSslEv>
> For me it looks OK.
Are you using NFSroot? Or: is the "platform-tx53/root/usr/lib/libQtNetwork.so"
the same library as your "sslTest" application "sees" at runtime?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-27 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-27 12:42 [ptxdist] qt4 - openssl support: symbol lookup error: undefined symbol: _ZN10QSslSocket11supportsSslEv Matthias Klein
2013-09-27 13:14 ` Jürgen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox