Skip to content

Fix case when there are more than one matching libraries#8955

Merged
battlmonstr merged 1 commit intodevelfrom
fix_silkworm_glibc_check
Dec 12, 2023
Merged

Fix case when there are more than one matching libraries#8955
battlmonstr merged 1 commit intodevelfrom
fix_silkworm_glibc_check

Conversation

@JacekGlen
Copy link
Copy Markdown
Contributor

Small fix to the script for the scenario where more than one matching library can be returned.
For example, the command /sbin/ldconfig -p | grep libstdc++ | awk '{ print $NF }' can result in

/lib/x86_64-linux-gnu/libstdc++.so.6
/lib32/libstdc++.so.6

which then fails the check if [[ ! -L "$link_path" ]]

@battlmonstr battlmonstr merged commit 4217f78 into devel Dec 12, 2023
@battlmonstr battlmonstr deleted the fix_silkworm_glibc_check branch December 12, 2023 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants