aardappel / treesheets

TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
zlib License
2.49k stars 184 forks source link

Latest binaries mising libtiff.so.5 #651

Closed noyannus closed 3 weeks ago

noyannus commented 1 month ago

On Kubuntu 24.04 / KDE 5.27.11, the latest binaries won't run.libtiff.so.5 is missing.

root@osboxes:/home/osboxes# /home/osboxes/Downloads/TreeSheets-relocatable_g/treesheets
/home/osboxes/Downloads/TreeSheets-relocatable_g/treesheets: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
root@osboxes:/home/osboxes# /home/osboxes/Downloads/TreeSheets-relocatable_clang/treesheets
/home/osboxes/Downloads/TreeSheets-relocatable_clang/treesheets: error while loading shared libraries: libtiff.so.5: cannot open shared object file: No such file or directory
root@osboxes:/home/osboxes# apt install libtiff.so.5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libtiff.so.5
E: Couldn't find any package by glob 'libtiff.so.5'
root@osboxes:/home/osboxes#
aardappel commented 1 month ago

apt install libtiff.so.5 I doubt that's how you install libtiff.

We build binaries with ubuntu-latest which is still on 22. And 24 is labelled "beta": https://github.com/actions/runner-images Pretty sure that if we'd force the upgrade to 24 we'd get complaints from it not working for people still on 22.

Is there a way to statically link libtiff?

noyannus commented 1 month ago

That latest looks suspicious. 24.04 is the current LTS out in the wild. Kubuntu 22 ended with 23.04 on 2023-04-20. Or am I misunderstanding you?

With actions/runner-images I am not familiar, but if they really are still wresting with 23, not to mention 24... Could the openSUSE Build Service (or another OBS instance) be an alternative?

The Open Build Service (OBS) is a generic system to build and distribute binary packages from sources in an automatic, consistent and reproducible way. You can release packages as well as updates, add-ons, appliances and entire distributions for a wide range of operating systems and hardware architectures.

The openSUSE project runs it's own instance at https://build.opensuse.org/ (source)

Wikipedia on the workflow

re libtiff: That was a desperate attempt so get it running...

edit: relevant XKCD

aardappel commented 1 month ago

We are not Linux only, we need a cross platform build integrated with github.

Did you try apt install libtiff5 ?

noyannus commented 1 month ago

Tried libtiff5-dev and libtiff-tools, no luck.

re build: OBS can be linked with github so GH pushes and starts the build etc. That could take care of a host of Linux distros.

Not sure how to understand the FAQ entry about Windows builds (page last edited 12/2022)

Windows executables can be produced using a cross-compiler, such as the mingw suite. Because the build target most commonly still is a Linux distribution, the binaries still end up in a .rpm or .deb package.

Could that mean the product for windows only needs unpacking .rpm/.deb and repack for Windows -?

georgeraraujo commented 1 month ago

Tried libtiff5-dev and libtiff-tools, no luck.

Try these instructions.

noyannus commented 3 weeks ago

Some version also needed sudo ln -s libpcre2-16.so.0 libpcre2-32.so.

Closing as resolved.