library.post_install.inc.cmake.in 301 Bytes
# Update the dynamic linker runtime bindings.
VAR1="/sbin/ldconfig"
VAR2=`which ldconfig`

if [ -e $VAR1 ]; then
    $VAR1
elif [ ! -z $VAR2 ]; then
    $VAR2
else
    VAR3=`find / -name ldconfig -type f`
    if [ -e $VAR3 ]; then
        $VAR3
    else
        echo "ldconfig not found!!!"
    fi
fi