https://sourceware.org/bugzilla/show_bug.cgi?id=26626

--- Comment #9 from sguelton at redhat dot com ---
Something like that maybe (on good ol' RHEL7)?

```
#!/usr/bin/bash
if [ "x$1" != xmissing-lib ]
then
    # silently error
    exit 1
fi

lib="$2"
pkgs=$(yum provides "*/lib$lib.so" 2>/dev/null | awk "/$(rpm -E %{_arch}) :/
{print\$1;}")
if [ "x$pkgs" != x ]
then
    printf "Consider installing one of the following package:\n\n$pkgs\n"
fi
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to