This described in the FAQ:
http://sourceforge.net/apps/trac/mingw-w64/wiki/Answer%2064%20bit%20MSVC-generated%20x64%20.lib
In your case, you should generate a *.def and and an *.a from your
oci.dll (I am simply guessing the dll name based on the *.lib name.)