bugManeage - Bugs: bug #56733, Biber linking problem when...


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

bug #56733: Biber linking problem when building paper's references

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 08 Aug 2019 03:11:37 PM UTC
Category:  Analysis Severity:  3 - Normal
Item Group:  Crash Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 08 Aug 2019 03:11:37 PM UTC, original submission:  

So far TexLive is the only package that we don't install from source, we just use Texlive's own package manager to download the proper binary files for the user's architecture.

Because of this we recently confronted this error on a system:

biber: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

Indeed, when I check the libraries that the Texlive Biber links with, I see this:

$ ldd .local/bin/biber
        linux-vdso.so.1 (0x00007fff727fd000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa1ed6e3000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007fa1ed6c8000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa1ed6c3000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fa1ed57d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007fa1ed543000)
        libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fa1ed53e000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fa1ed379000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fa1ed73a000)

So its not just libnsl, but libcrypt is another high-level library that can cause a similar crash.

This is very bad and in task #15267 (Building TeXLive from source) we plan to fix this problem. But that will be a long task, because TeX packages have their own unique style of building which I don't have time to implement within the pipeline now.

In a recent commit, I added `libnsl' (and its dependencies of `libtirpc' and `rpcsvc') to the template, but unfortunately they are an updated version and there is no guarantee when the Texlive builders decide to update their dependency on the libraries.

Until then, we'll have to ask any user that confronts this problem to either ignore a LaTeX PDF output, or install libnsl and libcrypt manually using their system's package manager. For example on Red-hat based GNU/Linux machines they should run this command:

sudo dnf install libnsl libxcrypt-compat

Mohammad Akhlaghi <makhlaghi>
Project Administrator


(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 (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.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.10