You cannot build shared libraries with that version. As that version is somewhat old, you might want to jump to a more recent one:
Not sure what you're up to, but there are also other solvers that extend MiniSat (the version you started from), and added features, e.g. Glucose or MapleSAT. In case you say what you want to achieve with the dynamic library, these solvers might be interesting for you as well (although they do not support being build as shared library either).
Best,
Norert
Thanks!
Fred