Hello Adolf,
So when you run find-dependencies on a fresh build with the new version, you are guaranteed to not find anything with the old version any more, because it was not present at build time. The system has never seen it.
That means that everything that is now linked against the new version was probably linked against the old version and therefore needs to be shipped again - i.e. PAK_VER needs to be incremented or it needs to be part of the core update.
It is very hard to find them all, and as much as we tried, there was occasionally something left which is kind of annoying, but there is no better way doing it than this.
-Michael
On 1 May 2022, at 13:17, Adolf Belka adolf.belka@ipfire.org wrote:
Hi All,
I ran find-dependencies on libgd.so.3, the latest library to see what is linked to it on my build system.
sarg is highlighted and also icinga and apcupsd are linked to it so people who had those addons already installed and linked with the old libgd.so.2 library will have problems with images. This I can confirm with my apcupsd setup which I had running. When you try and see the upsimage.cgi page then all the coloured parts of the image that show varying amounts of charge etc are not visible.
As these are addons they need to have their PAK_VER numbers incremented to get them to be updated. I will provide a patch to do this for sarg, icinga and apcupsd
Regards,
Adolf.
On 01/05/2022 13:35, Adolf Belka wrote:
Hi everyone,
In CU167 the old libgd.so.2 library was removed but it turned out that some programs were still linked to it and not to the new libgd.so.3 library. My bad last September when I updated gd. I mad an error with find-dependencies and it said there was nothing still linked to the old library which was not the case.
During CU167 Testing this was found with vnstat needed for the Net-Traffic page. So vnstat was added to the updater list for CU167.
In the forum @hellfire has found that the same old library link is there for sarg. So could sarg please be added to the CU168 updater list so that it will update its link to the new library.
I will try and find out if anything else is still linked to the old libgd.so.2 library
Sorry for the hassle.
Regards,
Adolf.