From 8efc884c876db923beab95d9d333fc49b07fa23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Wed, 1 Sep 2021 10:28:08 +0200
Subject: [PATCH] fix: set symlink to correct libpcre version in order for
 checkit_tiff to work

---
 tasks/rosetta/install_checkit_tiff.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tasks/rosetta/install_checkit_tiff.yml b/tasks/rosetta/install_checkit_tiff.yml
index ecbc31e..a9a3b88 100644
--- a/tasks/rosetta/install_checkit_tiff.yml
+++ b/tasks/rosetta/install_checkit_tiff.yml
@@ -6,3 +6,9 @@
       "pcre",
     ]
     state: latest
+
+- name: create symlink to the version of the libpcre kernel module that checkit_tiff expects
+  file:
+    src: "/usr/lib64/libpcre.so.1"
+    dest: "/usr/lib64/libpcre.so.3"
+    state: symlink
-- 
GitLab