cannot find source code for runtime library file 'object.d'

thinkunix thinkunix at zoho.com
Thu Nov 23 06:24:50 UTC 2023


denis via Digitalmars-d-learn wrote:
> On Monday, 20 November 2023 at 07:50:22 UTC, thinkunix wrote:
>> denis via Digitalmars-d-learn wrote:
>>> ```
>>> $ zypper install dmd
>>> $ dmd main.d
>>> Error: cannot find source code for runtime library file 'object.d'
>>>         dmd might not be correctly installed. Run 'dmd -man' for 
>>> installation instructions.
>>>         config file: /etc/dmd.conf
>>
>> I would say the package has files in the wrong locations.
>> Try the binary from dlang.org:
>> https://downloads.dlang.org/releases/2.x/2.105.3/dmd-2.105.3-0.openSUSE.x86_64.rpm 
>>
> Thank you Scot, I confirm that installing manually does the trick

You should open a bug report with OpenSUSE to let them know their
official package does not work.  Point them to the dlang.org
openSUSE package which does work for how to "do it right".

scot


More information about the Digitalmars-d-learn mailing list