We can greatly simplify the library installation in tl-setup on RPM based systems by exploiting the fact that the library names are added as Provide:s in the RPMs. E.g. to make sure libncurses.so.5 is installed, we would look for the package providing "libncurses.so.5". Right now we have to hard code the containing package, which varies between versions. One gotcha though is that on x86_64 the libraries have the suffix "()(64bit)", but that should be easy enough to automatically handle. It also helps when implementing bug 5993. Also note that zypper isn't as convenient as yum/dnf when it comes to this. For yum/dnf you can just do "yum install libncurses.so.5". For zypper you have to run what-provides to figure out the package name first. tl-setup already works this way though.
We'll do this now. Mark this bug as duplicate of the LSB bug.
*** This bug has been marked as a duplicate of bug 5828 ***