Code Monkey home page Code Monkey logo

Comments (8)

probonopd avatar probonopd commented on July 18, 2024

Similar for libssl.so.10, libcrypto.so.10, libicui18n.so.57, libicuuc.so.57, libicudata.so.57, libpcre16.so.0. As a general rule, all libraries should be bundled except the ones listed in https://github.com/probonopd/AppImages/blob/master/excludelist.

from mycroft-ai-qtapplication.

probonopd avatar probonopd commented on July 18, 2024

How was the AppImage made? Using linuxdeployqt?

from mycroft-ai-qtapplication.

AIIX avatar AIIX commented on July 18, 2024

I am using the python version of linux deploy qt: https://github.com/Larpon/linuxdeployqt.py. but it seems to complete leave out the external libs and plugins.

Using this linuxdeployqt i end up with a ton of errors building on fedora.

Running: ./linuxdeployqt-continuous-x86_64.AppImage build-mycroft-qtapplication-Desktop-Debug/mycroft-qtapplication -appimage -bundle-non-qt-libs -qmldir=/usr/lib64/qt5/ -verbose=3

Log: checking whether "/home/Aix/build-mycroft-qtapplication-Desktop-Debug/lib/libnsl.so.1" has an rpath set
Log: patchelf --print-rpath "/home/Aix/build-mycroft-qtapplication-Desktop-Debug/lib/libnsl.so.1"

ERROR: ldd outputline: "libpulsecommon-10.0.so => not found" (this one gets moving forward using export path method mentioned here: probonopd/linuxdeployqt#52)

ERROR: Error reading rpath with patchelf "libnsl.so" : "cannot find section .dynamic\n"
ERROR: Error reading rpath with patchelf "libnsl.so" : ""

from mycroft-ai-qtapplication.

probonopd avatar probonopd commented on July 18, 2024

Please copy libpulsecommon to a place where ldd can find it, not into a subdirecory of the libs directory.
Then please retry with the latest linuxdeployqt, possibly the other issue has been fixed in the meantime.
probonopd/linuxdeployqt#61

from mycroft-ai-qtapplication.

AIIX avatar AIIX commented on July 18, 2024

libpulsecommon error seems to be solved bringing it over to /usr/lib64/ out of the sub dir on the latest release but the libnsl.so does not seem to be solved. I am on the latest release of linuxdeployqt on fedora. I am not sure if this error seems to be a fedora only thing. I am going to try building this against kubuntu 16.10 or 16.04.

from mycroft-ai-qtapplication.

AIIX avatar AIIX commented on July 18, 2024

I've gotten past those errors and can generate an appimage on ubuntu using linuxdeployqt. But the app image fails to work. linuxdeployqt completely ignores copying over qml/Qtwebsocket and manually copying over the websocket libs and rebuilding the appimage ends up with the following error:

qrc:/main.qml:5 plugin cannot be loaded for module "Qt.WebSockets": Cannot load library /tmp/.mount_Kf4BZV/qml/QtWebSockets/libdeclarative_qmlwebsockets.so: (libQt5WebSockets.so.5: cannot open shared object file: No such file or directory)

libQt5WebSockets.so.5 is present in my /lib folder and libQt5WebSockets.so.5 is present in my /qml/QtWebSockets/ i've additionally tried even moving over /qml into /lib/qt5/ that too doesn't seem to affect this error.

from mycroft-ai-qtapplication.

probonopd avatar probonopd commented on July 18, 2024

Experiment with -qmldir=path_to_where_qt_websockets_lives -qmldir=path_to_sourcecode.

from mycroft-ai-qtapplication.

AIIX avatar AIIX commented on July 18, 2024

Manually adding the paths to websocket and re compiling seems to have fixed the issue, tested on 16.04 live image it seems to also work just fine. Qt still fails to include websockets . Released on the rest of desktops.

from mycroft-ai-qtapplication.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.