libdynamic examples