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: