Newbie: problem with C extensions

Alex Martelli aleax at
Mon Jan 7 10:09:59 EST 2002

"Karthik Gurumurthy" <karthikg at> wrote in message
news:mailman.1010412730.2356.python-list at
> hi!
> am trying to create a dll out of a .c file using VC++ 6.0
> This is the error am getting
> LINK : fatal error LNK1104: cannot open file "python21_d.lib"
> what should i be doing to rectify this?

You should be building for release, not for debug.

Easiest way to build extensions on any platform is with the
distutils, as exemplified at:


More information about the Python-list mailing list