did you rename a file in archive from impdef_tar to impdef.tar?
did you create libmysql.def using impdef libmysql.dll > libmysql.def?