load libraries from tgz