From 1ee35d9ea41bef38c971889877d82f431941e52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Thu, 7 May 2020 11:23:13 +0200 Subject: [PATCH] Ensure lib64 ld-linux symlinks exists --- CHANGELOG.md | 1 + README.md | 1 + tasks/main.yml | 10 ++++++++++ 3 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9724de..743222f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Enhancements * Ensure to install requirements on Debian Stretch. * Empty requirements packages by default cause `lsb-compat` is no longer available on Debian Buster. +* Ensure lib64 ld-linux symlinks exists. ## v2.1.4 ### Enhancements diff --git a/README.md b/README.md index a74e796..2a04ac2 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ This role will : * Copy vendor daemon binaries to the host if source is specified. * Copy licence file to the host if source is specified. * Create a symlink (/usr/tmp) to /tmp to avoid error. +* Create a symlinks to ld-linux librairies. The `lmgrd` and `lmutil` binaries comes from [Mathworks][mathworks download url] in version **flexlm__lmgrd_version**. diff --git a/tasks/main.yml b/tasks/main.yml index 50e590a..23b3b21 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,6 +40,16 @@ dest: /usr/tmp state: link +# Create a symlink for libs [[[1 +- name: Symlinks to /lib64/ld-linux-x86-64.so.2 + file: + src: /lib64/ld-linux-x86-64.so.2 + dest: '{{ item }}' + state: link + with_items: + - /lib64/ld-lsb-x86-64.so.2 + - /lib64/ld-lsb-x86-64.so.3 + # lmgrd and lmutil binaries [[[1 - name: Add lmgrd bin copy: