DMD with older versions of Linux

Kai Meyer kai at unixlords.com
Fri Aug 5 09:47:32 PDT 2011


On 08/03/2011 06:05 PM, Adam Davis wrote:
> Dreamhost doesn't provide an updated glibc in my vps server. Is it possible to
> run dmd on somewhat outdated linux distributions?
>
> I tried running dmd from the distribution but got:
>
> ./dmd: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./dmd)
>
> The instaled versions are:
>
> $ ldd --version
> ldd (GNU libc) 2.7
>
> $ uname -a
> Linux ps54363 2.6.33.7-vs2.3.0.36.30.4 #23 SMP Tue Sep 28 05:47:35 PDT 2010
> x86_64 GNU/Linux
>
>
> If it's not possible to run the standard DMD package, could I build it from
> source using those versions?
>
> Thank you

You're using the 32bit binary on a 64bit machine. It's possible they do 
not have 32bit glibc, or possibly 32bit glibc-compat installed. Try 
using the 64bit binary. (If you were using the 64bit library, it would 
have thrown an error on /lib64/libc.so.6 .)

Also, 2.6.33 is not really "old". 2.6.18 would be "old". :) RHEL 6, just 
released last November is 2.6.32.

-Kai Meyer


More information about the Digitalmars-d mailing list