0
0

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 ?

  • Gerry
  • You must to post comments
0
0

A new version has just been uploaded with all references to ctype removed.

[url:1ewaepcm]http://www.fmod.org/files/fmodapi3741linux.tar.gz[/url:1ewaepcm]

  • You must to post comments
0
0

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!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.