Re: Where to go with EQL5 and QT specific questions?

"pls.153" <pls.153-g/[email protected]> Sat, 01 May 2021 07:01:57 +0000
Newsgroups gmane.lisp.ecl.general
Message-ID <Z-d7hhrDFSwEOQ6Xe4rhq1feUAPhU7qqMAzg-n-seRNzNxvXWt44461VvDAMWzNRTVypP_0cHTGmZkfIrUQPphafnB7mXzCqCRrfh70N4Xc=@protonmail.com>
On Thursday, April 29, 2021 9:48 PM, Erik Winkels <aerique-qWit8jRvyhVmR6Xm/[email protected]> wrote:
> Condition of type: LOAD-FOREIGN-LIBRARY-ERROR
> Unable to load any of the alternatives:
> ("libssl.so.1.1" "libssl.so.1.0.2m" "libssl.so.1.0.2k" "libssl.so.1.0.2" "libssl.so.1.0.1l" "libssl.so.1.0.1j" "libssl.so.1.0.1f" "libssl.so.1.0.1e" "libssl.so.1.0.1" "libssl.so.1.0.0q" "libssl.so.1.0.0" "libssl.so.0.9.8ze" "libssl.so.0.9.8" "libssl.so.10" "libssl.so.4" "libssl.so")

you could try to pre-load them using Qt instead. Just put those lines before loading your EQL code.

I tried the following trivial 'main.cpp' on Sailfish, and it worked for loading the libs:


#include <QCoreApplication>
#include <QLibrary>
#include <QtDebug>

static bool loadLib(const QString& name) {
    QLibrary lib(name);
    bool ok = lib.load();
    qDebug() << "loading" << name << ok;
    return ok;
}

int main(int argc, char** argv) {
    QCoreApplication app(argc, argv);

    loadLib("crypto.so.1.1");
    loadLib("ssl.so.1.1");

    return 0;
}


Paul