in reply to use lib $lib_dir not working