Skip to content
Snippets Groups Projects
Commit 31f98198 authored by Guillem Jover's avatar Guillem Jover
Browse files

dpkg-shlibdeps: Preserve the order when scanning symbols/shlibs files


The code was getting all the possible shared library pathnames for the
wanted SONAME, but was not preserving the order carefully constructed
in find_library(), so we were overwriting symbols/shlibs information
when parsing multiple entries, and selecting the symbols/shlibs files
randomly based on the perl hash order.

This causes regressions when multiple packages provide the same
SONAME on different directories. An example would be libc6:amd64
and libc6-amd64:i386.

Fixes: commit a927295c
Closes: #860979
Reported-by: default avatarHelmut Grohne <helmut@subdivi.de>
parent 7c77a05f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment