Build from source

Russel Winder via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Apr 10 10:59:30 PDT 2017


On Mon, 2017-04-10 at 16:48 +0000, Johan Engelen via digitalmars-d-ldc
wrote:
> 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?

I did an rm -rf * in the build directory and re-ran cmake so yes, I am
fairly certain I cleaned the directories. :-)

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-ldc/attachments/20170410/0785ca72/attachment.sig>


More information about the digitalmars-d-ldc mailing list