Simple question really, I'm trying to compile a 32-bit code-base on a 64-bit system (ubuntu 22).
Getting the error: /usr/bin/ld: cannot find -lmysqlclient: No such file or directory
I know it's because the linker can't find the 32-bit mysqlclient library. However, upon searching I can't find the :i386 package for this Ubuntu version.
Do I need to manually download the MySQL source and compile it for 32-bit? Does anyone know of another (easier) alternative?
I think I had this issue a few years back on another distribution and ended up downloading the source code and compiling, but I'm sure there's a better way by now that will keep my distro "clean" by using packages?
Any help is appreciated!.