Package: bc
Version: 1.07.1

When I invoke `bc` without any arguments from an ordinary shell prompt it fails 
with a dynamic
linking error:

        $ bc
        bc: error while loading shared libraries: libreadline.so.7: cannot open 
shared object file: No
        such file or directory

Further investigation reveals that the binary expects a missing library 
"libreadline.so.7":

        $ ldd $(which bc)
                linux-vdso.so.1 (0xbefc0000)
                /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => 
/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb6f28000)
                libreadline.so.7 => not found
                libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 
(0xb6ef8000)
                libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6da4000)
                /lib/ld-linux-armhf.so.3 (0xb6f3d000)

According to `dpkg`, the `bc` package depends on "libreadline8 (>= 6.0)" which 
supplies this library
but with incompatible version 8. I suggest that this dependency is corrected.

I am using Raspbian GNU/Linux 11, kernel 5.10.63-v7l+ and libc6 2.31-13.

Reply via email to