The path must be a string denoting the location of the library in
the system. The apispec may be a function that is called with the name
whenever getattr(name) is called. It returns a ctype or wrap -object
to indicate what the library should do.