bugManeage - Bugs: bug #63175, biber: libnsl.so.1: cannot open...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #63175: biber: libnsl.so.1: cannot open shared object file: No such file or directory

Submitter:  Victor R. Ruiz <rvr>
Submitted:  Thu 06 Oct 2022 11:29:29 PM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Mon 17 Feb 2025 12:01:00 AM UTC, comment #1: 

Thanks a lot for reporting this and so sorry for not being able to reply earlier!

The good news is that after a recent build with TeXLive 2024 (downloaded a few minutes ago) I noticed that Biber does static links to its used libraries:


$ ldd .local/bin/biber
        linux-vdso.so.1 (0x000077326cdf3000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x000077326cde8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x000077326cbf6000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000077326cdf5000)


So it doesn't dynamically link to so many libraries any more and the problem should be fixed in a fresh installation of TeXLive.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 06 Oct 2022 11:29:29 PM UTC, original submission:  

Steps to reproduce:
1. Install Fedora 36.
2. Install development packages («dnf group install "C Development Tools and Libraries" "Development Tools"»)
3. git clone https://git.maneage.org/project.git
4. cd project
5. ./project configure
6. ./project make -j8

Expected result:
PDF is built without errors

Actual result:
libnsl.so.1 => not found

Output written on paper.pdf (3 pages, 200528 bytes).
Transcript written on paper.log.
biber: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
make: * [reproduce/analysis/make/paper.mk:110: [...]maneage-build/analysis/tex/build/paper.bbl] Error 127

$ ldd biber
linux-vdso.so.1 (0x00007ffe8afa6000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fda45191000)
libnsl.so.1 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00007fda4518c000)
libm.so.6 => /lib64/libm.so.6 (0x00007fda450ae000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fda45074000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007fda4506d000)
libc.so.6 => /lib64/libc.so.6 (0x00007fda44e00000)
/lib64/ld-linux-x86-64.so.2 (0x00007fda451b1000)

In high-level.mk, I find:


1900 # Note that Biber needs to link with libraries like libnsl. However, we
1901 # don't currently build biber from source. So we can't choose the library
1902 # version. But we have the source and build instructions for the 'nsl'
1903 # library. When we later build biber from source, we can easily use them.


Not sure whether the expectation is that the library should be built later on but currently is not.

As a workaround, "dnf install libnsl" solved the problem.

Victor R. Ruiz <rvr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by rvr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-17 makhlaghi Open/ClosedOpen Closed
    2025-02-17 makhlaghi StatusNone Fixed
        Assigned toNone makhlaghi
    2025-02-17 makhlaghi CategoryNone Software
        Item GroupNone Crash

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code