Running dmd with older glibc

Daniel de Kok me at nowhere.nospam
Tue Dec 30 14:09:26 PST 2008


On 2008-12-27 00:34:50 +0100, Johan Granberg <lijat.meREM at OVEgmail.com> said:
> Now I'm getting
> 
> dmd: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by dmd)
> 
> and by extension no working compiler.
> 
> I found an old post describing the same problem but no solution. Does anyone
> have a solution to the above problem or should I give up the idea of using
> D for this project?

Yes, you'd need a newer glibc version. It should also be possible to 
put a newer glibc library in a separate directory, and run DMD with the 
appropriate path added to the LD_LIBRARY_PATH environment variable. 
E.g.:

LD_LIBRARY_PATH=~/compat-lib ~/dmd/bin/dmd

-- Daniel



More information about the Digitalmars-d-learn mailing list