Project

General

Profile

Actions

Bug #12994

closed

Missing lib path in AIX cfengine executables

Bug #12994: Missing lib path in AIX cfengine executables

Added by Alexis Mousset over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

We need to specify the /opt/rudder/lib as -L ld option to make it find its libraries.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #12966: Can not install rudder agent on AIX: libyaml.a could not be loadedReleasedAlexis MoussetActions

Updated by Alexis Mousset over 7 years ago Actions #1

As rpath does not work on AIX, we need to either:

  • Set LIBPATH to add /opt/rudder/bin
  • Add a -L/opt/rudder/bin option 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).

Updated by Alexis Mousset over 7 years ago Actions #2

dump -H cf-agent show the embedded library paths, and ldd works like on Linux.

Updated by Benoît PECCATTE over 7 years ago Actions #3

we also need to usse -static-libgcc because libgcc is not provided on aix

Updated by Vincent MEMBRÉ over 7 years ago Actions #4

  • Parent task deleted (#12966)

Updated by Vincent MEMBRÉ over 7 years ago Actions #5

  • Related to Bug #12966: Can not install rudder agent on AIX: libyaml.a could not be loaded added

Updated by Alexis Mousset over 7 years ago Actions #6

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset

Updated by Alexis Mousset over 7 years ago Actions #7

  • 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

Updated by Alexis Mousset over 7 years ago Actions #8

  • Status changed from Pending technical review to Pending release

Updated by Benoît PECCATTE over 7 years ago Actions #9

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.4 which was released today.

Actions

Also available in: PDF Atom