I'm having trouble compiling a program with gcc that includes glib.h on a Debian 9 i386 machine. gcc is telling me that my glib version does not meet the minimum value.
GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26
The GLIBC version on the machine is 2.24
# ldd --version
ldd (Debian GLIBC 2.24-11+deb9u3) 2.24
But I installed the -dev package and it says that 2.50.3-2 was installed
# apt install libglib2.0-dev
...
Get:1 http://ftp.us.debian.org/debian stretch/main i386 libglib2.0-dev i386 2.50.3-2 [3,091 kB]
...
However, the error persists. I was able to compile this project without problems on a Debian 9 x86_64 machine. What else needs installed for this to work?