Biber cannot find a shared library
Nelson H. F. Beebe
beebe at math.utah.edu
Wed Mar 6 22:24:39 CET 2024
M. Wierdl asks about a missing libnsl.so.1 in biber on Fedora 39.
I just checked one of my Fedora 39 systems and found that it has
more recent generation numbers:
% file /lib64/libnsl.so*
/lib64/libnsl.so.3: symbolic link to libnsl.so.3.0.0
/lib64/libnsl.so.3.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=dc26e257974a037b378927c4b91e57bce85a7e6e, stripped
Most cases of minor version differences in shared libraries can be trivially fixed
by a symlink.
If you have root access on the machine
# ln -s libnsl.so.3 /lib64/libnsl.so.1
should fix it for everyone on that machine.
If not, then
$ mkdir $HOME/lib
$ ln -s /lib64/libnsl.so.3 libnsl.so.1
$ export LD_LIBRARY_PATH $HOME/lib
$ biber
should work for a single user.
Shared library version number differences in GNU/Linux distros are a
pain for software that is built on one system, and expected to work on
many others. Also, most library packages fail to supply static
libraries (lib*.a), and only supply dynamic ones (lib*.so*), leading
to this problem.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah -
- Department of Mathematics, 110 LCB Internet e-mail: beebe at math.utah.edu -
- 155 S 1400 E RM 233 beebe at acm.org beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
More information about the tex-live
mailing list.