digitalmars.D.learn - Running dmd with older glibc
- Johan Granberg (11/11) Dec 26 2008 I'm running into a problem installing dmd in the computer labs at my
- Jarrett Billingsley (3/14) Dec 26 2008 I think DMD requires libc version 5, but don't quote me on that.
- Lars Ivar Igesund (7/27) Dec 30 2008 I actually think it is a link error, in that too high a version of libc ...
- Daniel de Kok (7/16) Dec 30 2008 Yes, you'd need a newer glibc version. It should also be possible to
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)
Dec 26 2008
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.
Dec 26 2008
Jarrett Billingsley wrote:On Fri, Dec 26, 2008 at 6:34 PM, Johan Granberg <lijat.meREM ovegmail.com> wrote: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 TangoI'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.
Dec 30 2008
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
Dec 30 2008