status of shared libs

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Apr 7 09:36:04 PDT 2013


On 04/06/2013 04:22 AM, Walter Bright wrote:
> On 4/5/2013 7:18 PM, Ellery Newcomer wrote:
>> is there a roadmap for druntime/phobos support of shared libraries?
>>
>> just built dmd from master, and I still can't coax out a 64 bit .so
> 
> awaiting:
> 
> https://github.com/D-Programming-Language/phobos/pull/1240

I see it's been added :-)

Are there any extra flags that need to be added to dmd.conf for this to work
successfully?  On my system I find that the shared library is not found when
running programs built against it:

   error while loading shared libraries: libphobos2so.so: cannot load shared
object file: no such file or directory

I can get round this by exporting /opt/dmd/lib to LD_LIBRARY_PATH but if I
recall right, this is a frowned-upon way of identifying where shared libraries
are to be found ...



More information about the Digitalmars-d mailing list