I can't find a way to generate that error, so I'm not sure what to suggest except the usual "start from scratch and do it all again". There's some way to use dlerror to get more info about what went wrong, but I don't know how to use it in this context. Can you run sbcl under strace and see what it reports? (You'll want to do this in an emacs shell subjob).