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

denis contact at gantsevdenis.fr
Tue Nov 21 17:46:06 UTC 2023


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
>
> I'm not familiar with zypper but I'll bet you can install it by:
> # zypper install ./dmd-2.105.3-0.openSUSE.x86_64.rpm
>
> On a RHEL-like distro, this works:
> # yum install ./pkgname.rpm
> ...
>
> scot

Thank you Scot, I confirm that installing manually does the trick

Regards
Denis


More information about the Digitalmars-d-learn mailing list