Comments (4)
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.
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.
"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.
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)
- Rename image to SHA256
- Resize with max-width or max-height while keeping the ratio HOT 2
- Add .tiff .tif to supported Formats
- Carsh on `Corrupt JPEG data` HOT 1
- What is the supported max resolution for compressing jpg files? Compression failed for 41000 * 15373 HOT 3
- Input and output of file lists HOT 1
- When adding a folder, add only specific file extensions to the list. HOT 2
- Specify compression ratio HOT 2
- TIFF files can't be added HOT 1
- How to delete a file
- Convert JPG/supported format to PDF HOT 2
- add shortcut ctrl+shift+w for exit HOT 2
- Linux Build HOT 7
- Provide SSIM image (structural similarity index measure) to user HOT 1
- Error: Cannot copy output file, check your permissions HOT 8
- Is it possible to use the gpu to accelerate the compression process HOT 1
- Add chroma subsampling option HOT 1
- centos build HOT 1
- Compress images inside the archive HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caesium-image-compressor.