From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-1?q?J=FCrgen_Beisert?= Date: Fri, 27 Sep 2013 15:14:10 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201309271514.10105.jbe@pengutronix.de> Subject: Re: [ptxdist] qt4 - openssl support: symbol lookup error: undefined symbol: _ZN10QSslSocket11supportsSslEv Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de, 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 > 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. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de