I have upgraded from kubuntu 22.04 to 24.04.1, and installed the 'source-extractor' and 'theli' packages through 'apt'. However, when I launch them from the commandline, I get the following error (example):
/usr/bin/source-extractor: error while loading shared libraries: libcurl-nss.so.4: cannot open shared object file: No such file or directory
Can anyone test on a fresh install if the same error occurs there? I can't find an installation source for curl-nss, so I am a bit stumped.
ldd /usr/bin/source-extractor
linux-vdso.so.1 (0x00007ffde6943000)
libcfitsio.so.10 => /usr/lib/libcfitsio.so.10 (0x000073473da00000)
liblapack_atlas.so.3 => /lib/x86_64-linux-gnu/liblapack_atlas.so.3 (0x000073473f478000)
libfftw3f.so.3 => /lib/x86_64-linux-gnu/libfftw3f.so.3 (0x000073473d600000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000073473f38f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000073473d200000)
libcurl-nss.so.4 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000073473f388000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000073473f36c000)
libf77blas.so.3 => /lib/x86_64-linux-gnu/libf77blas.so.3 (0x000073473f348000)
libcblas.so.3 => /lib/x86_64-linux-gnu/libcblas.so.3 (0x000073473e1db000)
libatlas.so.3 => /lib/x86_64-linux-gnu/libatlas.so.3 (0x000073473ce00000)
/lib64/ld-linux-x86-64.so.2 (0x000073473f4ff000)
libgfortran.so.5 => /lib/x86_64-linux-gnu/libgfortran.so.5 (0x000073473ca00000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000073473e1ae000)
EDIT:
On a hunch I have fetched the latest "cfitsio" sources from https://heasarc.gsfc.nasa.gov/fitsio/ and "CCfits" from https://heasarc.gsfc.nasa.gov/fitsio/ccfits/
I then recompiled first cfitsio and then CCfits, installing both into /usr/lib/ as well as /usr/local/lib.
Then 'source-extractor' launches without problems:
ldd /usr/bin/source-extractor
linux-vdso.so.1 (0x00007fff743f5000)
libcfitsio.so.10 => /usr/lib/libcfitsio.so.10 (0x000076f10f400000)
liblapack_atlas.so.3 => /lib/x86_64-linux-gnu/liblapack_atlas.so.3 (0x000076f110a30000)
libfftw3f.so.3 => /lib/x86_64-linux-gnu/libfftw3f.so.3 (0x000076f10f000000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000076f110947000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000076f10ec00000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000076f10f7e4000)
libf77blas.so.3 => /lib/x86_64-linux-gnu/libf77blas.so.3 (0x000076f10f7c0000)
libcblas.so.3 => /lib/x86_64-linux-gnu/libcblas.so.3 (0x000076f10f79b000)
libatlas.so.3 => /lib/x86_64-linux-gnu/libatlas.so.3 (0x000076f10e800000)
/lib64/ld-linux-x86-64.so.2 (0x000076f110ab7000)
libgfortran.so.5 => /lib/x86_64-linux-gnu/libgfortran.so.5 (0x000076f10e400000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000076f10f76e000)
The problem (missing libcurl-nss library) persists for the 'theli' package, though.