[Bug 1219521] New: dmd compiler cannot find standard library
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1219521 Bug ID: 1219521 Summary: dmd compiler cannot find standard library Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: andrea.manzini@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- To reproduce on a Tumbleweed installation: # zypper in dmd dub sudo zypper in dub dmd Loading repository data... Reading installed packages... Resolving package dependencies... The following recommended package was automatically selected: phobos-devel The following 4 NEW packages are going to be installed: dmd dub libphobos2-0_105 phobos-devel # cat > main.d import std.stdio; void main() { writeln("Hello, world"); } # dmd main.d /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lphobos2: No such file or directory collect2: error: ld returned 1 exit status Error: linker exited with status 1 as a workaround, installing # zypper in phobos-devel-static the main executable gets created -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1219521
https://bugzilla.suse.com/show_bug.cgi?id=1219521#c1
Boehmer
participants (1)
-
bugzilla_noreply@suse.com