-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling on ubuntu 23:10: libcaesium.so, remove cargo, sources/build files, qt - sudo make install, then remove all sources #269
Comments
After building again with the cmake commands as given in the readme.md the following error arises: This error came just after the second compile! |
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. |
"caesium-image-compressor: error while loading shared libraries: libQt6Concurrent.so.6: cannot open shared object file: No such file or directory" I am really surprised that linux is not better supported. Can you describe please how to install properly without need for carrying 5GB on a disk for the sources? |
TL;DR 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
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. 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. |
First of all - compiling on ubuntu 23.10 worked, and CIC works. Thx!!
pls. can you help with the command to install the CIC binary and the so's (and any other runtime dependencies if any)?
I tried sudo cmake install but cannot get the right command.
I want to install CiC and all runtime dependencies for all users on the machine, and then remove qt, sources, cargo to save space.
Thanks for any hint!
The text was updated successfully, but these errors were encountered: