Not at my machine right now, but if you haven't figured this out yet, you probably need to copy or symlink libdl in your /usr/lib{32} folder, if I remember It needed libdl.so but (on arch at least) all that was in there was libdl.so.2, I symlinked that as libdl.so in the folder and the generator works fine after.