Missing lib path in AIX cfengine executables
We need to specify the /opt/rudder/lib as -L ld option to make it find its libraries.
#1 Updated by Alexis MOUSSET 5 months ago
As rpath does not work on AIX, we need to either:
- Set LIBPATH to add
- Add a
-L/opt/rudder/binoption to the linker so that it adds the path to the executable.
See http://www.hpc.cineca.it/content/tips-linking-libraries-ibm-sp6-aix#_Toc277600243 for more information.
Note taht it worked before as CFEngine does no internal dynamic linking on AIX, and openssl was already present on the systems elsewhere, so the problem only appeared when adding new dependencies (namely curl, yaml and xml).
#7 Updated by Alexis MOUSSET 5 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis MOUSSET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1624
#8 Updated by Alexis MOUSSET 5 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|6dd87b8594afe93d41a8dbf0919c1d3bb132296e.