QSslSocket: cannot call unresolved function

holger
Hello,

I develop a qt application for the Mini6410. It runs under Linux in
standalone mode.
Qt 4.8.1 is installed (on the PC and on the Mini the same)

To display a Google Map in my application, I use webview to load a html
file from a server:

ui->webView->load(QUrl("http://server/index.html";));

This works on the PC but on the Mini I get the following:


QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error

I checked:
/usr/local/Trolltech/QtEmbedded-4.8.1-arm/include/QtNetwork/QSslSocket and
its present on the Mini and on the PC.

Idea: Need I openssl on the Mini? (.. I try it to cross-compile...)

Any ideas what I have to do, to solve this Problem?

Greetings from Germany

Holger

Serv
Hi Holger, 

altought I can not solve your problem directly I might be able to give you
some hints.

I don't think that it's a problem specific to the Minis
The >>unresolved function<< calls are directing to missing
plugins/libraries (don't know which ones), which are needed by QSslSocket.
So on your desktop PC (be it Windows or Linux) the Plugins are installed.
But on your Mini, since you have to cross compile most of the stuff, the
plugins are probably missing.

Secondly I know that Google used OpenSSL for his websites, so trying to
cross compile OpenSSL sounds like a good idea. Make sure that you cross
compile the OpenSSL dev/devel packets, too.

Hope this can help you, even if it's just a bit :)

Kind regards

Serv
It seems that I'm not able to edit my previous post, so just another quick
info. Check if you can find a file named libssl or libcrypto (or something
like that) on your Mini.

Like >>/usr/lib/libssl.so<<
or >>/lib/libssl.so<<

Beware, the names can vary. It could also be called >>libssl3.so<< or
>>libssl.so.1.0.0<< or stuff like that.

By the way what distro are you using on your Mini (Qtopia, QtEmbedded,
Anstrom, oselas/pengutronix or something else?)

Kind regards

Yung
I thought maybe it be forgoted a include-File. And I am in a trouble same
to U now.