Installing MySQLdb under Cygwin
Perflubron
pih00 at doc.ic.ac.uk
Mon Oct 13 04:53:48 EDT 2003
Hi Jason,
> This error usually means the extension module did not export the init
> function. What do you get when you try the following?
>
> $ objdump -p _mysql.dll | fgrep init
I get:
ba58 52 mysql_init
[ 0] init_mysql__Fv
I don't know what the __Fv means.
> If the init function is not being exported, then change the source from:
>
> to:
>
> DL_EXPORT(void) /* for Python 2.2.2, use PyMODINIT_FUNC for Python 2.3+ */
> init_mysql(void)
> {
> ...
> }
>
The source already has the DL_EXPORT line in it.
I'll try the cygwin list now, thanks for your help.
Per
More information about the Python-list
mailing list