Skip to content

gi_gio fails to build on macOS #218

@pranaysashank

Description

@pranaysashank
build_depends:  base ^>= 4.12.0.0
              , gi-gio

cabal new-build fails with

Could not resolve symbol "g_desktop_app_info_lookup_get_type" in namespace "Gio"
CallStack (from HasCallStack):
  error, called at lib/Data/GI/CodeGen/LibGIRepository.hs:167:8 in hskll-g-0.21.5-4d703475:Data.GI.CodeGen.LibGIRepository

I tried
nm /usr/local/Cellar/glib/2.60.0/lib/libgio-2.0.dylib, and
nm /usr/local/Cellar/glib/2.60.0/lib/libglib-2.0.dylib but couldn't locate the symbol anywhere.

System Configuration:

  • OS: macOS 10.14.3
  • GHC: ghc-8.6.3
  • glib: 2.60.0

I installed all the libraries using HomeBrew. Also I am not sure if it's relevant, but gtk2hs builds successfully.

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