I was trying to follow the ffi example in the Rustnomicon. I cloned the snappy repository and built it. I placed the snappy library inside the targets/debug/deps/ directory.