This has nothing to do with a wrong path.
According to distrowatch freespire 1.0 uses glibc version 2.3.2, so the error message is pretty self explanatory , xaralx requires (or at least checks for) glibc version 2.3.4 (or higher) in order to compile.

While theoretically you should be able to have more then one version of each library installed in this case I would advise not to try anything of this sort since a wrong glibc could easily bring down your system.

You can try opening up the xaralx makefile in an editor, finding the glibc reference and changing it to require version 2.3.2 ,obviously this is not guaranteed to work but it might be worth a shot.