在mingw中,怎么得到运行时库和设置所需要的库

在mingw中,怎样得到运行时库和设置所需要的库
我使用mingw编译我的程序。但是现在出了一个问题。编译后运行时系统提示运行时库错误。
我调用一个已经编译好的动态库(python27.dll).这个库依赖msvcr90.dll(9.0.21022.8). 
我怀疑错误是因为我编译时的动态库和这个动态库不同造成的。我想知道怎么样查看和设置mingw的运行时库版本.

Error:

Microsoft Visual C++ Runtime Library 
Runtime Error!
Program:xxxxx.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
C++ mingw

------解决方案--------------------
参考:
ldd命令
depends.exe