#1016422 eatmydata: wrapper script has missed library path change

Package:
eatmydata
Source:
eatmydata
Submitter:
Marcel Partap
Date:
2026-07-05 12:27:02 UTC
Severity:
normal
Tags:
#1016422#5
Date:
2022-07-31 14:00:24 UTC
From:
To:
It still references `/usr/lib/libeatmydata` instead of `/usr/lib/arch` ..
resulting in:

ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.

#1016422#8
Date:
2022-07-31 14:14:03 UTC
From:
To:
Control: tag -1 moreinfo

That's not it.

the wrapper script is using LD_LIBRARY_PATH to be backward-compatible
with places where libeatmydata.so was places in that
/usr/lib/libeatmydata directory.

Now that the .so has been moved to
/usr/lib/x86_64-linux-gnu/libeatmydata.so there is no need anymore to
have LD_LIBRARY_PATH at all, as that directory is part of the standard
search path.

Please double check what kind of environment you are trying to
eatmydata, perhaps you are in a multi-arch setting, and missing a copy
of the library for the appropriate architecture?

#1016422#15
Date:
2022-12-06 15:12:11 UTC
From:
To:
[Mattia Rizzolo]

Something similar just happened with the linuxcnc github CI builds on
sid, see
<URL: https://github.com/LinuxCNC/linuxcnc/actions/runs/3628123051/jobs/6118774342 >
and
<URL: https://github.com/LinuxCNC/linuxcnc/actions/runs/3625764843/jobs/6114140535
It is not happening with bullseye and bookworm.

I got no idea what is going wrong here.

#1016422#20
Date:
2024-12-04 06:22:02 UTC
From:
To:
Dear Marcel,

Did you see the question from Mattia about eatmydata?  We are unable to
reproduce your problem, and thus am curious how it could happen.

#1016422#25
Date:
2026-07-05 12:21:30 UTC
From:
To:
This bug affects pbuilder, since pbuilder Depends: eatmydata.

And hurd build daemons use pbuilder, so this bug is making it
impossible to build packages on hurd, if LD_LIBRARY_PATH needs to be
used.

An example is hypre. LD_LIBRARY_PATH is used to run build-time tests,
with LD_LIBRARY_PATH used to point at the build dir containing the
newly built libraries. This is the case whether tests are managed by
ctest (cmake), or run manually by makefile (make check).

Bug #1016422 is causing the hurd builds to fail, see
https://buildd.debian.org/status/fetch.php?pkg=hypre&arch=hurd-amd64&ver=3.1.0-2exp3&stamp=1783252287&raw=0
https://buildd.debian.org/status/fetch.php?pkg=hypre&arch=hurd-i386&ver=3.1.0-2exp2&stamp=1783218733&raw=0

The error message on hurd-amd64 is

Test project /build/reproducible-path/hypre-3.1.0/obj-x86_64-gnu
    Start 1: test_ij_solvers
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
1/3 Test #1: test_ij_solvers ..................***Timeout 1501.43 sec

    Start 2: test_struct_solvers
2/3 Test #2: test_struct_solvers ..............   Passed    6.35 sec
    Start 3: test_sstruct_solvers
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
3/3 Test #3: test_sstruct_solvers .............***Timeout 1500.55 sec


33% tests passed, 2 tests failed out of 3

Total Test time (real) = 3010.13 sec

The following tests FAILED:
	  1 - test_ij_solvers (Timeout)
	  3 - test_sstruct_solvers (Timeout)
Errors while running CTest
make[1]: *** [debian/rules:136: override_dh_auto_test] Error 8