digitalmars.D - DMD with older versions of Linux
- Adam Davis (13/13) Aug 03 2011 Dreamhost doesn't provide an updated glibc in my vps server. Is it possi...
- David Nadlinger (4/6) Aug 03 2011 I don't know it off hand, but just try running »make -f posix.mak« in
- Jonathan M Davis (5/24) Aug 03 2011 I built it from source on Fedora 9 so that I could use some of my helper...
- Walter Bright (2/4) Aug 03 2011 Sure. D doesn't have any dependency on the semantics of the newer glib.
- Jacob Carlborg (6/19) Aug 03 2011 I've successfully built and used DMD on Ubuntu 6. I use it to produce
- Kai Meyer (8/21) Aug 05 2011 You're using the 32bit binary on a 64bit machine. It's possible they do
- Andrew Wiley (2/35) Aug 05 2011 But we're already at kernel 3.0 :D
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 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 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 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 youI'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 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 youYou'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
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:But we're already at kernel 3.0 :DDreamhost 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 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 youYou'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