Build from source

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Apr 10 09:48:48 PDT 2017


On Monday, 10 April 2017 at 06:55:25 UTC, Russel Winder wrote:
> On Sun, 2017-04-09 at 20:37 +0000, kinke via digitalmars-d-ldc 
> wrote:
>> On Sunday, 9 April 2017 at 16:25:42 UTC, Russel Winder wrote:
>> > /home/users/russel/BuildArea/LDC/bin/ldc2: error while 
>> > loading shared libraries: libldc.so: cannot open shared 
>> > object file: No such file or directory
>> 
>> Try omitting `-DBUILD_SHARED=True`, that's untested, mentioned 
>> nowhere in the LDC docs and apparently doesn't work. ;)
>
> Apparently what I think I meant was -DBUILD_SHARED_LIB=BOTH. So 
> my command line was really rather wrong. However, if I can now 
> redirect this thread as I now get a totally different error (oh 
> the joy of an over-general subject field):

Just to make sure: did you clean the build dir, removed the cmake 
cache, etc.? Basically started from scratch?

- Johan



More information about the digitalmars-d-ldc mailing list