Bug 2401176 - flang compiled binaries cannot find libflang_rt.runtime.so
Summary: flang compiled binaries cannot find libflang_rt.runtime.so
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flang
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-02 21:32 UTC by Satish Balay
Modified: 2025-11-01 01:42 UTC (History)
7 users (show)

Fixed In Version: flang-21.1.4-1.fc43
Clone Of:
Environment:
Last Closed: 2025-11-01 01:42:12 UTC
Type: ---
Embargoed:
tstellar: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-2442 0 None None None 2025-10-03 16:41:46 UTC

Description Satish Balay 2025-10-02 21:32:19 UTC
flang compiled binaries give run time error:

error while loading shared libraries: libflang_rt.runtime.so: cannot open shared object file: No such file or directory


Reproducible: Always

Steps to Reproduce:
balay@pj01:~/junk$ cat x.F90
program main
end
balay@pj01:~/junk$ flang x.F90
balay@pj01:~/junk$ ./a.out 

Actual Results:
./a.out: error while loading shared libraries: libflang_rt.runtime.so: cannot open shared object file: No such file or directory


Expected Results:
No such error

Additional Information:
balay@pj01:~/junk$ locate libflang_rt.runtime.so
/usr/lib/clang/21/lib/x86_64-redhat-linux-gnu/libflang_rt.runtime.so
balay@pj01:~/junk$ rpm -qf /usr/lib/clang/21/lib/x86_64-redhat-linux-gnu/libflang_rt.runtime.so
flang-runtime-21.1.2-1.fc43.x86_64
balay@pj01:~/junk$ ls /etc/ld.so.conf.d/
dyninst-x86_64.conf  llvm20-x86_64.conf
balay@pj01:~/junk$ 


Perhaps this location should be setup in /etc/ld.so.conf.d/ by flang-runtime-21.1.2-1.fc43.x86_64?

Comment 1 Fedora Update System 2025-10-30 21:24:31 UTC
FEDORA-2025-cc70faac04 (flang-21.1.4-1.fc43, libclc-21.1.4-1.fc43, and 2 more) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-cc70faac04

Comment 2 Fedora Update System 2025-10-31 01:43:59 UTC
FEDORA-2025-cc70faac04 has been pushed to the Fedora 43 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-cc70faac04`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-cc70faac04

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

Comment 3 Fedora Update System 2025-11-01 01:42:12 UTC
FEDORA-2025-cc70faac04 (flang-21.1.4-1.fc43, libclc-21.1.4-1.fc43, and 2 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.