Brand new ubuntu installation.
sudo apt install alire
alr --version
It says
alr: symbol lookup error: alr: undefined symbol: __gnat_timeval_to_duration
Alire already installs a whole bunch of gnat libraries so I tried
sudo apt install gnat-13
alr
Comes up with the same error message. ldd on alr shows
linux-vdso.so.1 (0x000078de836ba000)
libgnatcoll.so.22 => /lib/x86_64-linux-gnu/libgnatcoll.so.22 (0x000078de81e00000)
libxmlezout.so.8 => /lib/x86_64-linux-gnu/libxmlezout.so.8 (0x000078de8367c000)
libgnarl-13.so => /lib/x86_64-linux-gnu/libgnarl-13.so (0x000078de83631000)
libgnat-13.so => /lib/x86_64-linux-gnu/libgnat-13.so (0x000078de81800000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000078de83603000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000078de81400000)
libgnatprj.so.11 => /lib/x86_64-linux-gnu/libgnatprj.so.11 (0x000078de80a00000)
libxmlada_schema.so.8 => /lib/x86_64-linux-gnu/libxmlada_schema.so.8 (0x000078de82518000)
libxmlada_dom.so.9 => /lib/x86_64-linux-gnu/libxmlada_dom.so.9 (0x000078de835dd000)
libxmlada_sax.so.8 => /lib/x86_64-linux-gnu/libxmlada_sax.so.8 (0x000078de83583000)
libxmlada_input.so.8 => /lib/x86_64-linux-gnu/libxmlada_input.so.8 (0x000078de83573000)
libxmlada_unicode.so.8 => /lib/x86_64-linux-gnu/libxmlada_unicode.so.8 (0x000078de80600000)
/lib64/ld-linux-x86-64.so.2 (0x000078de836bc000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000078de81d13000)
Questions:
- Which library should timeval_to_duration be defined in?
- Is this a bug in the ubuntu (24.10) release?
- How do I fix this problem?