Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14571: aix binaries fail to run #1838

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented Apr 2, 2019

@@ -40,7 +40,7 @@ do
# extract other dependencies with library name
lib=$(LIBPATH="${dir}/lib:/usr/lib:/lib" ldd "${f}" | grep -e " /usr/lib/lib" -e " /lib/lib" | sed 's|.*/lib/lib\([^.]*\).*|-l\1|' | sort -u)
# relink with static paths and proper libpath (just in case)
ld -bipath -bsvr4 -blibpath:/opt/rudder/bin:/urs/lib:/lib ${lib} -o "${dest}" "${f}" ${path} && mv "${dest}" "${f}"
ld -bipath -bsvr4 -blibpath:/opt/rudder/bin:/urs/lib:/lib "${f}" ${path} ${lib} -o "${dest}" && mv "${dest}" "${f}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

args.shuffle()

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit cdb7a91 into Normation:branches/rudder/5.0 Apr 2, 2019
@peckpeck peckpeck deleted the bug_14571/aix_binaries_fail_to_run branch July 13, 2020 14:21
This pull request was closed.
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