Closed kyudorimj closed 3 years ago
I don't know why MySQLdb recipe is not working, I include all the needed requirements such as setuptools and libmysqlclient. So I decided not to use the recipe and use mysql.connector instead of MySQLdb
In buildozer spec file I include: requirements = python3, kivy, mysql_connector
Just needed to modify some of my code in main,py because of the shift from MySQLdb to mysql.connector, then it works.
../../libmysql/libmysqlclient.a(mf_pack.c.o):mf_pack.c:function unpack_dirname: error: undefined reference to 'endpwent'
Theses are linker errors, usually you need to look in which lib this function is defined and link against it.
Also googling around I found:
https://forum.kodi.tv/showthread.php?tid=280134
In this patch it seems like they disable code based on HAVE_GETPWENT
.
So yeah I would be tempted to apply this patch first to see.
https://github.com/MrMC/mrmc/blob/ee0ab0b/tools/depends/target/mysql/06-no-endpwent.patch
i need help i having the same problem, but it does not work for me
Versions
Description
I'm trying to build an app with MySQL in it. Unfortunately the app don't build and I get these errors.
buildozer.spec
Command:
Spec file:
Logs