[Bug 1208451] New: ghc linker doesn't see shared libraries
http://bugzilla.opensuse.org/show_bug.cgi?id=1208451 Bug ID: 1208451 Summary: ghc linker doesn't see shared libraries Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: egotthold@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I am trying to build "hadolint"[1] in the following project [2]. All dub dependencies build just fine. However, hadolint itself doesn't build due to issues with the linker. Since I am no expert in Haskell and no obvious cause, I have opened this bug. Error message: [ 64s] Linking dist/build/hadolint/hadolint ... [ 65s] /usr/bin/ld.bfd: cannot find -lgmp: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lc: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lm: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lm: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lffi: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lnuma: No such file or directory [ 65s] /usr/bin/ld.bfd: cannot find -lc: No such file or directory [ 65s] collect2: error: ld returned 1 exit status [ 65s] `cc' failed in phase `Linker'. (Exit code: 1) However (I am unaware what package would be needed for the "c" and "m" libraries): [ 10s] libffi-devel-3.4.4-1.1 [ 10s] libnuma-devel-2.0.15.0.g01a39cb-1.1 [ 11s] gmp-devel-6.2.1-4.11 [1]: https://github.com/hadolint/hadolint [2]: https://build.opensuse.org/project/show/home:SchoolGuy:ghc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208451 http://bugzilla.opensuse.org/show_bug.cgi?id=1208451#c1 --- Comment #1 from Enno Gotthold <egotthold@suse.com> --- I've also created an upstream bug: https://github.com/hadolint/hadolint/issues/941 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208451 http://bugzilla.opensuse.org/show_bug.cgi?id=1208451#c2 --- Comment #2 from Enno Gotthold <egotthold@suse.com> --- After sinking the third evening with no results into this bug it is seemingly getting frustrating. "hadolint" doesn't build as a non-static executable and as such finding the libraries for static linking at build time is required. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208451 http://bugzilla.opensuse.org/show_bug.cgi?id=1208451#c3 Peter Trommler <ptrommler@icloud.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ptrommler@icloud.com |peter.simons@suse.com --- Comment #3 from Peter Trommler <ptrommler@icloud.com> --- I have resigned from maintaining Haskell packages quite a while ago. Can someone with sufficient privileges please the bugowner role for my account in devel:languages:haskell/ghc. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com