Giter VIP home page Giter VIP logo

Comments (4)

JeckPeppinger avatar JeckPeppinger commented on May 29, 2024

After building again with the cmake commands as given in the readme.md the following error arises:
caesium-image-compressor: error while loading shared libraries: libQt6Concurrent.so.6: cannot open shared object file: No such file or directory

This error came just after the second compile!

from caesium-image-compressor.

Lymphatus avatar Lymphatus commented on May 29, 2024

The process on Linux is a bit more complicated than on other systems. If you want to compile and then remove all of build dependencies, you can use tool like linuxdeployqt, which will make a "self-contained" application. You can also take a look at #259 which is related to this issue.
I will also try to give AppImages for Linux for future builds, so you can avoid compiling yourself.

from caesium-image-compressor.

JeckPeppinger avatar JeckPeppinger commented on May 29, 2024

"caesium-image-compressor: error while loading shared libraries: libQt6Concurrent.so.6: cannot open shared object file: No such file or directory"
Any hint how to resolve that?

I am really surprised that linux is not better supported.
download, build, install, cleanup - long since i programmed myself, but this was a standard.
The method you described for building on linux costs at least 5GB on the disk. A bit perverted to have a 5GB tool that helps reduce filesizes of pictures ....

Can you describe please how to install properly without need for carrying 5GB on a disk for the sources?

from caesium-image-compressor.

Lymphatus avatar Lymphatus commented on May 29, 2024

TL;DR
You can use this third-party build that ships an AppImage. Should run on Ubuntu 23.10, but I've not tested myself.

Caesium is a UI software based on Qt6. If you want to build it, you need to install Qt, which is very large indeed. This is only needed for compiling it, not running it. Once you compile it, the actual executable needs to have some libraries still on the system, one of them is libQt6Concurrent.so.6, but there are a few more.
The process would roughly be:

  • Install Qt6 dev packages (very large)
  • Compile the software (cmake, make)

At this point if you keep the Qt libraries, it should work. If you want to cleanup all the compilation requirements, you need to manually (or use linuxdeployqt) keep/copy the required libraries in a place where the executable can find them (the same folder works), because they are dynamically linked, not statically linked. Once you've done that, you can unistall Qt6 and all dependencies.
This is the same way that me or you would do on Windows or macOS. The difference is that on Windows I can do this process myself and give you an installer or a zip** with an .exe, and on macOS I can do the same and give a .app, which is a self contained folder with all requirements. Not on Linux, because a binary build on Ubuntu might not run on Fedora, or Suse or any other distro.

In #259 we are discussing a way to simplify the Linux binary delivery. The process I described it's also documented here by Qt.

** if you look inside the zip of the portable version, you'll see an executable and some .dll. Those are Qt libraries that Caesium needs to run properly, as the error you got told you. If you look at the size of the zip, it's about 30Mb, so you don't need 5Gb to run it.

from caesium-image-compressor.

Related Issues (20)

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.