View Issue Details

IDProjectCategoryView StatusLast Update
0000560AlmaLinux-9glibcpublic2025-10-02 15:37
Reportervermainfinite Assigned Toalukoshko  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000560: glibc-2.34.168.el9_6 libc.so points to `/lib` instead of `/usr/lib`
DescriptionThe glibc implements UsrMove which moves `/lib` and `/sbin` to `/usr/lib` and `/usr/sbin`. However libc.so still points to `/lib/` artifacts. This does not cause an issue because `/lib -> /usr/lib` symlink is done through filesystem rpm but it would be better to fix libc.so linker script to work regardless of the symlinks created by filesystem rpm.

A way to fix it would be to do below change in glibc.spec file:

```
sed -e 's,\([^0-9a-zA-Z=*]/lib\),/usr/lib,g' \
    -e 's,\([^0-9a-zA-Z=*]\)/,\1/,g' \
    -i $(find -type f -name 'lib[cm].so')
```
to:

```
sed -e 's,\([^0-9a-zA-Z=*]/lib\),/usr/lib,g' \
    -e 's,\([^0-9a-zA-Z=*]\)/,\1/,g' \
    -i $(find %{buildroot} -type f -name 'lib[cm].so')
```
TagsNo tags attached.

Activities

alukoshko

2025-10-02 15:36

administrator   ~0001168

I'd propose to create PR to upstream glibc repo:
https://gitlab.com/redhat/centos-stream/rpms/glibc/-/tree/c9s?ref_type=heads

alukoshko

2025-10-02 15:37

administrator   ~0001169

Or even to Fedora first:
https://src.fedoraproject.org/rpms/glibc

Issue History

Date Modified Username Field Change
2025-09-11 07:59 vermainfinite New Issue
2025-10-02 15:36 alukoshko Note Added: 0001168
2025-10-02 15:36 alukoshko Assigned To => alukoshko
2025-10-02 15:36 alukoshko Status new => assigned
2025-10-02 15:37 alukoshko Note Added: 0001169