Hi. I’m having a problem with linking a game against FMOD on a Linux system with an older glibc (version 2.1.3). The error I’m getting is:
/usr/lib/libfmod-3.74.so: undefined reference to `__ctype_b_loc@GLIBC_2.3′
This only happens with FMOD 3.7.4, not with 3.7.3. I could of course upgrade glibc on the build system from 2.1.3 to 2.3.x to work around this, but the reason for using an older glibc in this game’s build process in the first place is to not require end users to upgrade their glibc to be able to play the game. (In other words, whatever glibc-version the user has will be usable, as long as it’s equal to or higher than the older compile-time version).
Is there any chance you could fix this for FMOD 3.7.5 ?
- trick asked 13 years ago
Thank you! This version works fine. (Sorry for this very late reply.)
The reason it suddenly started to cause problems now is probably that you upgraded gcc/glibc, and there’s a newer verison of the ctype stuff in the new version. Since glibc versions all its functions, and gcc links to the newest version, that means older versions of glibc suddenly won’t work. You can check for this sort of thing by running fx “objdump -x libfmod.3.74.1.so | grep GLIBC”.
Thanks again for fixing it!
- trick answered 12 years ago
Please login first to submit.