Shared library problem
Russel Winder
russel at winder.org.uk
Fri Aug 10 15:38:22 UTC 2018
I have a build of 1.11 (Git master head) in $HOME/BuildArea/LDC. I have a
build of Unit_Threaded using this compiler. As well as the Unit_Threaded
shared object, there is the executable gen-ut-main. However, when the
executableis run:
|> LD_LIBRARY_PATH=$HOME/BuildArea/LDC/lib:$HOME/Built/lib $HOME/Built/bin/gen-ut-main
Aborting from rt/sections_elf_shared.d(489) Only one D shared object allowed for static runtime. Link with shared runtime via LDC switch '-link-defaultlib-shared'.Aborted
Do I need -link-defaultlib-shared when building LDC or Unit_Threaded?
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
-------------- 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/20180810/e1b576e8/attachment.sig>
More information about the digitalmars-d-ldc
mailing list