client: ask for library first