24.04: libcurl-nss missing

Asked by Mischa Schirmer

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.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu source-extractor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For diagnostic purposes, what output do you receive for the following commands:

uname -a
lsb_release -crid
apt policy source-extractor theli

Revision history for this message
Mischa Schirmer (schirmermischa) said :
#3

uname -a:
Linux lab 6.8.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

apt policy source-extractor theli:
source-extractor:
  Installed: 2.28.0+ds-1build2
  Candidate: 2.28.0+ds-1build2
  Version table:
 *** 2.28.0+ds-1build2 500
        500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status
theli:
  Installed: 3.1.4-1ubuntu2
  Candidate: 3.1.4-1ubuntu2
  Version table:
 *** 3.1.4-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Installing source-extractor and theli from the Ubuntu repositories does not show these errors, but a far longer list of shared libraries

$ ldd /usr/bin/source-extractor
 linux-vdso.so.1 (0x00007ffe217e8000)
 libcfitsio.so.10 => /lib/x86_64-linux-gnu/libcfitsio.so.10 (0x000071932cc00000)
 liblapack_atlas.so.3 => /lib/x86_64-linux-gnu/liblapack_atlas.so.3 (0x000071932e1cf000)
 libfftw3f.so.3 => /lib/x86_64-linux-gnu/libfftw3f.so.3 (0x000071932c800000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000071932cf17000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000071932c400000)
 libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x000071932cb45000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000071932e1b1000)
 libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x000071932e19d000)
 libf77blas.so.3 => /lib/x86_64-linux-gnu/libf77blas.so.3 (0x000071932e179000)
 libcblas.so.3 => /lib/x86_64-linux-gnu/libcblas.so.3 (0x000071932e154000)
 libatlas.so.3 => /lib/x86_64-linux-gnu/libatlas.so.3 (0x000071932c000000)
 /lib64/ld-linux-x86-64.so.2 (0x000071932e240000)
 libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x000071932cb1a000)
 libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x000071932e130000)
 librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x000071932cafc000)
 libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x000071932ca8b000)
 libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x000071932ca77000)
 libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x000071932c7ab000)
 libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x000071932be06000)
 libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x000071932c757000)
 libldap.so.2 => /lib/x86_64-linux-gnu/libldap.so.2 (0x000071932c6fa000)
 liblber.so.2 => /lib/x86_64-linux-gnu/liblber.so.2 (0x000071932ca67000)
 libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x000071932c640000)
 libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x000071932cf09000)
 libgfortran.so.5 => /lib/x86_64-linux-gnu/libgfortran.so.5 (0x000071932ba00000)
 libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5 (0x000071932b853000)
 libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x000071932c3b8000)
 libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x000071932bd82000)
 libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x000071932b200000)
 libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x000071932b05c000)
 libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x000071932ca51000)
 libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x000071932b78a000)
 libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x000071932c614000)
 libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x000071932ca49000)
 libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x000071932ca3c000)
 libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x000071932c39e000)
 libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x000071932c37b000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000071932bd55000)
 libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x000071932c36f000)
 libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x000071932bd4e000)
 libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x000071932bd3b000)
$ /usr/bin/source-extractor -v
Source Extractor version 2.28.0 (2023-03-07)

$ ldd /usr/bin/theli
 linux-vdso.so.1 (0x00007ffd7cb77000)
 libcfitsio.so.10 => /lib/x86_64-linux-gnu/libcfitsio.so.10 (0x0000763c6a800000)
 libgsl.so.27 => /lib/x86_64-linux-gnu/libgsl.so.27 (0x0000763c6a400000)
 libwcs.so.8 => /lib/x86_64-linux-gnu/libwcs.so.8 (0x0000763c6a27c000)
 libtiff.so.6 => /lib/x86_64-linux-gnu/libtiff.so.6 (0x0000763c6b0a7000)
 libraw.so.23 => /lib/x86_64-linux-gnu/libraw.so.23 (0x0000763c6a6e7000)
 libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x0000763c69a00000)
 libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x0000763c69200000)
 libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x0000763c68c00000)
 libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x0000763c68800000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000763c6ab17000)
 libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x0000763c6b04e000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000763c6a6ba000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000763c68400000)
 libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x0000763c6a1c1000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x0000763c6a1a5000)
 libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x0000763c6a191000)
 libgslcblas.so.0 => /lib/x86_64-linux-gnu/libgslcblas.so.0 (0x0000763c6a151000)
 libwebp.so.7 => /lib/x86_64-linux-gnu/libwebp.so.7 (0x0000763c6a0d6000)
 libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x0000763c69946000)
 liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x0000763c69914000)
 libLerc.so.4 => /lib/x86_64-linux-gnu/libLerc.so.4 (0x0000763c69179000)
 libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x0000763c6a0c6000)
 libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x0000763c68b7d000)
 libdeflate.so.0 => /lib/x86_64-linux-gnu/libdeflate.so.0 (0x0000763c69901000)
 liblcms2.so.2 => /lib/x86_64-linux-gnu/liblcms2.so.2 (0x0000763c68b1b000)
 libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x0000763c68a94000)
 libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x0000763c687c8000)
 libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x0000763c686bb000)
 libmd4c.so.0 => /lib/x86_64-linux-gnu/libmd4c.so.0 (0x0000763c68a82000)
 libdouble-conversion.so.3 => /lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x0000763c686a6000)
 libicui18n.so.74 => /lib/x86_64-linux-gnu/libicui18n.so.74 (0x0000763c68000000)
 libicuuc.so.74 => /lib/x86_64-linux-gnu/libicuuc.so.74 (0x0000763c67c00000)
 libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x0000763c6861a000)
 libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x0000763c67eb7000)
 /lib64/ld-linux-x86-64.so.2 (0x0000763c6b148000)
 libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x0000763c683d5000)
 libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x0000763c683b3000)
 librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x0000763c68395000)
 libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x0000763c67e46000)
 libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x0000763c68381000)
 libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x0000763c67bab000)
 libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x0000763c679b1000)
 libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x0000763c6795d000)
 libldap.so.2 => /lib/x86_64-linux-gnu/libldap.so.2 (0x0000763c67900000)
 liblber.so.2 => /lib/x86_64-linux-gnu/liblber.so.2 (0x0000763c68371000)
 libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x0000763c6ab09000)
 libsharpyuv.so.0 => /lib/x86_64-linux-gnu/libsharpyuv.so.0 (0x0000763c6a6b2000)
 libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x0000763c67848000)
 libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x0000763c67e13000)
 libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x0000763c6777c000)
 libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x0000763c67756000)
 libicudata.so.74 => /lib/x86_64-linux-gnu/libicudata.so.74 (0x0000763c65800000)
 libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x0000763c676bc000)
 libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5 (0x0000763c65653000)
 libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x0000763c67674000)
 libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x0000763c675f0000)
 libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x0000763c65000000)
 libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x0000763c64e5c000)
 libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x0000763c6835b000)
 libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x0000763c6558a000)
 libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x0000763c675c4000)
 libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x0000763c6a0c0000)
 libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x0000763c6834e000)
 libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x0000763c675aa000)
 libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x0000763c67587000)
 libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x0000763c64d1f000)
 libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x0000763c6757b000)
 libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x0000763c698fa000)
 libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x0000763c67568000)
 libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x0000763c65561000)
 libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x0000763c69173000)
 libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x0000763c68612000)
 libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x0000763c6554b000)
 libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x0000763c6553c000)

I assume that the problem that you see is caused by foreign versions of "cfitsio" and/or "CCfits" (and eventually some other software)
Compare the related line in your output
        libcfitsio.so.10 => /usr/lib/libcfitsio.so.10
to the standard Ubuntu output in my system
 libcfitsio.so.10 => /lib/x86_64-linux-gnu/libcfitsio.so.10

What output do you receive for the commands
ldd /usr/lib/libcfitsio.so.10
ldd /lib/x86_64-linux-gnu/libcfitsio.so.10

Can you help with this problem?

Provide an answer of your own, or ask Mischa Schirmer for more information if necessary.

To post a message you must log in.