Refresh dynamic linker run time bindings

Prior to running the unit tests, refresh the dynamic linker run time
bindings in case there were run time dependencies installed.

Change-Id: Id09025ede720ae0e56d7c9e0e51627c77e7f9eed
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index c635158..e555676 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -177,6 +177,8 @@
                                   os.path.join(WORKSPACE, UNIT_TEST_PKG),
                                   dep_installed)
     os.chdir(os.path.join(WORKSPACE, UNIT_TEST_PKG))
+    # Refresh dynamic linker run time bindings for dependencies
+    check_call_cmd(os.path.join(WORKSPACE, UNIT_TEST_PKG), 'ldconfig')
     # Run package unit tests
     if args.verbose:
         check_call_cmd(os.path.join(WORKSPACE, UNIT_TEST_PKG), 'make', 'check',