Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed

L

Laszlo Nagy

This is what I did so far:

#1. Install Python 2.6, Firebird 1.5 server (with libs and headers),
egenix mx base and mingw C compiler
#2. put "c:\MinGW\bin" on the PATH (or wherever it is)
#3. extract kinterbasdb source to a temp folder
#4. hack setup.cfg. Change the build section:

[build]
compiler=mingw32

#5. hack setup.py

Replace this:
customCompilerName = 'msvc'
With this:
customCompilerName = 'mingw32-gcc'

#6. run "python setup.py install"

The building and installation went find. But I cannot "import
kinterbasdb" because I get a "DLL load failed" error. I figured out that
has something to do with msvcr90 and "_ftime". Can you please give me
some advice how to solve this problem?

Thanks,

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top