I only have libreadline.so.8 on my CU167 system but I donāt get the error when running bc.
The last time an update of bc was done was in 2017 and the last update to readline was in April 2021.
which shows libreadline.so.8 library being linked. I suspect your will have libreadline.so.6 but I donāt understand why because the libraries should have got updated in April 2021 when readline was updated.
The reason that you only see this now is that in CU167 old libraries, files etc were cleaned out and libreadline.so.5 and libreadline.so.6 were ones that were removed.
This also indicates that you are on CU167.
It will be interesting to see if the links for both bc and fcrontab libreadline are the same. If yes then fcrontab should also be having error messages die to missing libreadline.so.6
Will wait to hear from you on the library links for bc and fcrontab
pakfire status
core-list.db 100.00% |=============================>| 903.00 B
Core-Version: 2.27-x86_64
Core-Update-Level: 167
Last update: 8d 12h 42m 46s ago
Last core-list update: 9h 40m 4s ago
Last server-list update: 9h 40m 5s ago
Last packages-list update: 9h 40m 4s ago
Core-Update available: no
Package-Updates available: 0
Reboot required: no
I suspected you were going to have that, as if fcrontab was also linked to libreadline.so.6 which had been removed then everyoneās IPFire would not be running fcron which would have been noticed.
So it looks like fcrontab had itās library links updated correctly but bc did not.
It would be good to know if this is only on bc or if other packages that rely on libreadline are also affected.
Could you run the ldd command on the following files and just let me know if any of them are also linked to libreadline.so.6 or if all are linked to libreadline.so.8
It would also be good if other people on the forum on CU167 can indicate if they have the same problem with bc being linked to libreadline.so.6
CU167 was released on 27th April so the old libreadline.so.6 library was still on your system when you tested your script. The library was removed as part of the CU167 update but you should have already been linked to the libreadline.so.8 library. That is what is unusual and at the moment I donāt understand it.
Right.
So everything got its links updated on your system back in last year except for bc but on my system bc was also updated.
Donāt really understand that at the moment.
Will be good to hear if anyone else has the same problem.
Meanwhile I will try and have a think about it.
I will probably get bc to be shipped with CU168 or CU169 at the latest so the links should be updated.
Meanwhile your temporary fix will keep you working.
Maybe you could show the dates of the libreadline library files with the following command
ls -hal /usr/lib/libreadline*
I want to see how the date compares to mine, which is June 21 2021, although your libreadline.so.8 symlink will probably have a new date because of your renaming to libreadline.so.6 but the libreadline.so.8.1 library should still have the date from when it was originally updated.
I donāt believe that should give a problem but if other people on the forum using the apu1 can check the linked library on bc that would be good just to confirm.
OK, so I copied the bc command to my system - which of course did the trick. My system is very old and runs for many years ā¦ maybe over time something was missing during an update.
The date for the creation of the lib link on the apu1 is from Jun 18 2021. I am wondering if you might have installed an earlier testing version of CU157 on this machine and it only got part of the updates.
At least you are up to date now with the library and if no one else flags up a similar problem then we will have to presume that there was some hiccup on the apu1 machine around CU157 even if we donāt know specifically what.
Yes, I did not post because of my individual system. If Iām the only one thatās perfect.
Just wanted to check as I donāt know how many things in IPFire rely on bc.
yes, unfortunately, that is one of the antics that come with testing Core Updates.
On some IPFire installations of mine, I switch to the testing channel as soon as a new update is available there, and when it is released as stable, I switch back to the stable channel as well. However, to ensure no quirks have been left, I then manually reinstall the latest Core Update (by decrementing the version number in /opt/pakfire/db/core/mine).