Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 26, 2008 Running dmd with older glibc | ||||
---|---|---|---|---|
| ||||
I'm running into a problem installing dmd in the computer labs at my department. I don't have root access so I'm installing into my home directory and I had a working dmd 0.150 but I was in need of features introduced after that so I tried to install 1.038 instead. 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? (I have tried earlier to compile both ldc and gdc but without success) |
December 26, 2008 Re: Running dmd with older glibc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | On Fri, Dec 26, 2008 at 6:34 PM, Johan Granberg <lijat.meREM@ovegmail.com> wrote:
> I'm running into a problem installing dmd in the computer labs at my department. I don't have root access so I'm installing into my home directory and I had a working dmd 0.150 but I was in need of features introduced after that so I tried to install 1.038 instead.
>
> 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?
>
> (I have tried earlier to compile both ldc and gdc but without success)
I think DMD requires libc version 5, but don't quote me on that.
|
December 30, 2008 Re: Running dmd with older glibc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | Jarrett Billingsley wrote: > On Fri, Dec 26, 2008 at 6:34 PM, Johan Granberg <lijat.meREM@ovegmail.com> wrote: >> I'm running into a problem installing dmd in the computer labs at my department. I don't have root access so I'm installing into my home directory and I had a working dmd 0.150 but I was in need of features introduced after that so I tried to install 1.038 instead. >> >> 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? >> >> (I have tried earlier to compile both ldc and gdc but without success) > > I think DMD requires libc version 5, but don't quote me on that. I actually think it is a link error, in that too high a version of libc (compared to what is needed) is linked in. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango |
December 30, 2008 Re: Running dmd with older glibc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | On 2008-12-27 00:34:50 +0100, Johan Granberg <lijat.meREM@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
|
Copyright © 1999-2021 by the D Language Foundation