Skip to content

System library dependencies not documented #265

@andreasabel

Description

@andreasabel

Which system libraries does unix depend on? This should be documented in:

  • README
  • Maybe also unix.cabal via a pkgconfig-depends?

Here is a broken CI run with GHC 9.4 and --enable-executable-static on ubuntu-22.04 that points to a missing library, but it is not apparent from unixs documentation which one:

/usr/local/.ghcup/ghc/9.4.3/lib/ghc-9.4.3/lib/../lib/x86_64-linux-ghc-9.4.3/unix-2.7.3/libHSunix-2.7.3.a(Files.o):
function ghczuwrapperZC1ZCunixzm2zi7zi3ZCSystemziPosixziFilesZCmknod: 
error: undefined reference to '__xmknod'

See https://github.com/andreasabel/ci-executable-static/actions/runs/3620850873/jobs/6103575852

Report at ubuntu-22.04 home:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions