I had some luck building a local copy of llvm in my home directory, using a linux version about as old as yours (llvm 3.5 i used) specifying:

--configure --prefix=/home/andrew/llvm

so make install would install it somewhere I had permissions.

Then I changed the cmake command to:

cmake -L -DLLVM_CONFIG="/home/andrew/llvm/bin/llvm-config" ..

and I got a working install of ldc.

Make yourself a cup of tea while you wait though if you try it, llvm was about an hour and a half to compile.

On Tuesday, 15 September 2015 at 13:49:04 UTC, Fredrik Boulund wrote:
On Tuesday, 15 September 2015 at 10:01:30 UTC, John Colvin wrote:
try this: https://dlangscience.github.io/resources/ldc-0.16.0-a2_glibc2.11.3.tar.xz

Nope, :(

$ ldd ldc2
./ldc2: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./ldc2)
        linux-vdso.so.1 =>  (0x00007fff2ffd8000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000318a000000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000318a400000)
libncurses.so.5 => /lib64/libncurses.so.5 (0x000000319bc00000)
        librt.so.1 => /lib64/librt.so.1 (0x000000318a800000)
        libz.so.1 => /lib64/libz.so.1 (0x000000318ac00000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000318dc00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003189c00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000318c000000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003189800000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003189400000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003199000000)

Thanks for trying though!


Reply via email to