Determine the packages of dynamic libraries