Skip to content

Add standard build directories to LD_LIBRARY_PATH for manylinux_2_28? #1886

@mwtoews

Description

@mwtoews

I'm looking to transition from manylinux2014 to manylinux_2_28 in this project PR, however I noticed that LD_LIBRARY_PATH is different, such that auditwheel cannot find libraries installed to /usr/local.

I.e. compare LD_LIBRARY_PATH between these two images:

$ docker run -it --rm quay.io/pypa/manylinux2014_x86_64:2025.08.02-1 printenv | grep LD_
LD_LIBRARY_PATH=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64

$ docker run -it --rm quay.io/pypa/manylinux_2_28_x86_64:2025.12.07-1 printenv | grep LD_
LD_LIBRARY_PATH=/opt/rh/gcc-toolset-14/root/usr/lib64:/opt/rh/gcc-toolset-14/root/usr/lib:/opt/rh/gcc-toolset-14/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-14/root/usr/lib/dyninst

The later is missing /usr/local/lib64. Is this intentional? Or is it a recurrence of an old issue #26?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions