Bug 2381595

Summary: faketime cannot load /usr/local/lib/faketime/libfaketime.so.1
Product: [Fedora] Fedora Reporter: amatej
Component: libfaketimeAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: negativo17, pablo, paul.wouters, ppisar, wtogami
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libfaketime-0.9.12-4.fc42 libfaketime-0.9.12-4.fc41 libfaketime-0.9.12-4.el9 libfaketime-0.9.12-4.el10_1 libfaketime-0.9.12-4.el10_0 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-25 01:03:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description amatej 2025-07-17 07:21:46 UTC
It seems that since the new libfaketime-0:0.9.12-1.fc43 running faketime doesn't work.

It worked fine with libfaketime-0:0.9.10-11.fc42

Reproducible: Always

Steps to Reproduce:
1.faketime '2 years' date
Actual Results:
ERROR: ld.so: object '/usr/local/lib/faketime/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Thu Jul 17 09:17:05 AM CEST 2025


Expected Results:
Sat Jul 17 09:17:32 AM CEST 2027

Comment 1 Petr Pisar 2025-07-17 08:41:00 UTC
You need to pass PREFIX=%{_prefix} LIBDIRNAME=/%{_lib} arguments to all make invocations. Not only in %install section. The PREFIX value is compiled into faketime executable.

Comment 2 Fedora Update System 2025-07-18 19:22:13 UTC
FEDORA-EPEL-2025-16ba628eea (libfaketime-0.9.12-4.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-16ba628eea

Comment 3 Fedora Update System 2025-07-18 19:22:32 UTC
FEDORA-EPEL-2025-3fa2458dd1 (libfaketime-0.9.12-4.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-3fa2458dd1

Comment 4 Fedora Update System 2025-07-18 19:22:53 UTC
FEDORA-EPEL-2025-6245bbf063 (libfaketime-0.9.12-4.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6245bbf063

Comment 5 Fedora Update System 2025-07-18 19:23:20 UTC
FEDORA-2025-270308518a (libfaketime-0.9.12-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-270308518a

Comment 6 Fedora Update System 2025-07-18 19:23:51 UTC
FEDORA-2025-3d909c8652 (libfaketime-0.9.12-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3d909c8652

Comment 7 Fedora Update System 2025-07-19 21:14:33 UTC
FEDORA-2025-3d909c8652 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3d909c8652`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3d909c8652

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-07-19 22:01:19 UTC
FEDORA-2025-270308518a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-270308518a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-270308518a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-07-19 22:01:58 UTC
FEDORA-EPEL-2025-6245bbf063 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6245bbf063

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-07-19 22:03:52 UTC
FEDORA-EPEL-2025-16ba628eea has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-16ba628eea

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-07-19 22:06:58 UTC
FEDORA-EPEL-2025-3fa2458dd1 has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-3fa2458dd1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-07-25 01:03:51 UTC
FEDORA-2025-3d909c8652 (libfaketime-0.9.12-4.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-07-25 02:00:56 UTC
FEDORA-2025-270308518a (libfaketime-0.9.12-4.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-07-27 01:40:03 UTC
FEDORA-EPEL-2025-6245bbf063 (libfaketime-0.9.12-4.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-07-27 01:43:07 UTC
FEDORA-EPEL-2025-3fa2458dd1 (libfaketime-0.9.12-4.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2025-07-27 01:48:06 UTC
FEDORA-EPEL-2025-16ba628eea (libfaketime-0.9.12-4.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.