Beyond Compare 4.4.6 is compatible with Redhat Enterprise Linux 8 in the default OS configuration.
The optional security framework fapolicyd controls application execution. When it is enabled, Beyond Compare will fail to launch.
Error as shown in terminal:
The /usr/bin/bcompare launcher script uses ldd to check for missing shared libraries. The default configuration of fapolicyd prevents ldd from running.
Two ways to prevent the error:
1) Enable ldd in fapolicyd settings.
Comment out the ld_so line.
Update the rules list and restart fapolicyd.
2) Edit /usr/bin/bcompare to comment out the ldd section of the launcher script except for the 'export' line. After the edit, launching Beyond Compare will fail silently if there are missing libraries.
Redhat Documentation for fapolicyd:
https://access.redhat.com/documentat...y-hardening
The optional security framework fapolicyd controls application execution. When it is enabled, Beyond Compare will fail to launch.
Error as shown in terminal:
Code:
[scooter@alma8]$ bcompare /usr/bin/ldd: line 160: /lib64/ld-linux-x86-64.so.2: Operation not permitted ldd: exited with unknown exit code (126)
Two ways to prevent the error:
1) Enable ldd in fapolicyd settings.
Code:
[root@alma8]# gedit /etc/fapolicyd/rules.d/30-patterns.rules
Code:
#deny_audit perm=any pattern=ld_so : all
Code:
[root@alma8]# fagenrules --load [root@alma8]# systemctl restart fapolicyd
Code:
[root@alma8]# gedit /usr/bin/bcompare
Code:
#check to see if we have all of the shared libraries. #if ldd "$EXEC" | grep -q "not found" ; then # #if not then add our qt4 libraries in and see if that fixes problem export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$BC_LIB/qt4" # if ldd "$EXEC" | grep -q "not found" ; then # echo Some Shared Libraries were not found # ldd "$EXEC" # exit 1 # fi #fi
https://access.redhat.com/documentat...y-hardening