digitalmars.D - DMD with older versions of Linux
- Adam Davis <adavis thisisnotmyrealemail.com> Aug 03 2011
- David Nadlinger <see klickverbot.at> Aug 03 2011
- "Jonathan M Davis" <jmdavisProg gmx.com> Aug 03 2011
- Walter Bright <newshound2 digitalmars.com> Aug 03 2011
- Jacob Carlborg <doob me.com> Aug 03 2011
- Kai Meyer <kai unixlords.com> Aug 05 2011
- Andrew Wiley <wiley.andrew.j gmail.com> Aug 05 2011
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
Aug 03 2011
On 8/4/11 2:05 AM, Adam Davis wrote:If it's not possible to run the standard DMD package, could I build it from source using those versions?
I don't know it off hand, but just try running »make -f posix.mak« in the src/ directory and you'll see (add »MODEL=64« for x86_64). David
Aug 03 2011
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?
I built it from source on Fedora 9 so that I could use some of my helper programs at work. I had more problems getting git set up properly to grab the latest stuff than building dmd. Building dmd worked just fine. If you use the zip file from the latest release, it should be quite easy. - Jonathan M Davis
Aug 03 2011
On 8/3/2011 5:05 PM, Adam Davis wrote:If it's not possible to run the standard DMD package, could I build it from source using those versions?
Sure. D doesn't have any dependency on the semantics of the newer glib.
Aug 03 2011
On 2011-08-04 02:05, 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
I've successfully built and used DMD on Ubuntu 6. I use it to produce linux binaries so my tools will run on older versions of linux. I think it worked on Ubuntu 4 as well, but I had other problems on that version. -- /Jacob Carlborg
Aug 03 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
Aug 05 2011
--001636c923b5460c2e04a9c54b17 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 5, 2011 at 9:47 AM, Kai Meyer <kai unixlords.com> wrote: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
But we're already at kernel 3.0 :D --001636c923b5460c2e04a9c54b17 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Fri, Aug 5, 2011 at 9:47 AM, Kai Meyer <span = dir=3D"ltr"><<a href=3D"mailto:kai unixlords.com">kai unixlords.com</a>&= gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div><div></div><div class=3D"h5">On 08/03/2011 06:05 PM, Adam Davis wrote:= <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Dreamhost doesn't provide an updated glibc in my vps server. Is it poss= ible to<br> run dmd on somewhat outdated linux distributions?<br> <br> I tried running dmd from the distribution but got:<br> <br> ./dmd: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./dm= d)<br> <br> The instaled versions are:<br> <br> $ ldd --version<br> ldd (GNU libc) 2.7<br> <br> $ uname -a<br> Linux ps54363 2.6.33.7-vs2.3.0.36.30.4 #23 SMP Tue Sep 28 05:47:35 PDT 2010= <br> x86_64 GNU/Linux<br> <br> <br> If it's not possible to run the standard DMD package, could I build it = from<br> source using those versions?<br> <br> Thank you<br> </blockquote> <br></div></div> You're using the 32bit binary on a 64bit machine. It's possible the= y do not have 32bit glibc, or possibly 32bit glibc-compat installed. Try us= ing the 64bit binary. (If you were using the 64bit library, it would have t= hrown an error on /lib64/libc.so.6 .)<br> <br> Also, 2.6.33 is not really "old". 2.6.18 would be "old"= . :) RHEL 6, just released last November is 2.6.32.<br><font color=3D"#8888= 88"> <br> -Kai Meyer<br></font></blockquote><div><br></div><div>But we're already= at kernel 3.0 :D=A0</div></div><br> --001636c923b5460c2e04a9c54b17--
Aug 05 2011









David Nadlinger <see klickverbot.at> 