Print understandable error messages for a couple of failure types.
better handling of library names on command-line