Неопределенные символы для архитектуры x86_64: "_utimensat", на которую ссылается: _cazW_info в libHSdirectory-1.3.3.0.a (Posix.o) - PullRequest
2 голосов
/ 07 мая 2019

Я пытаюсь установить haskell-ide-engine.Ниже приведены команды

git clone https://github.com/haskell/haskell-ide-engine --recursive
cd haskell-ide-engine 
./install.hs build-all

Последняя команда ./install.hs build-all завершилась с ошибкой ниже -

    [146 of 150] Compiling Distribution.Client.Sandbox ( Distribution/Client/Sandbox.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal-tmp/Distribution/Client/Sandbox.o )
    [147 of 150] Compiling Distribution.Client.Reconfigure ( Distribution/Client/Reconfigure.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal-tmp/Distribution/Client/Reconfigure.o )
    [148 of 150] Compiling Distribution.Client.Exec ( Distribution/Client/Exec.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal-tmp/Distribution/Client/Exec.o )
    [149 of 150] Compiling Distribution.Client.CmdLegacy ( Distribution/Client/CmdLegacy.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal-tmp/Distribution/Client/CmdLegacy.o )
    [150 of 150] Compiling Main             ( main/Main.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal-tmp/Main.o )
    Linking .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/cabal/cabal ...
    Undefined symbols for architecture x86_64:
      "_utimensat", referenced from:
          _cazW_info in libHSdirectory-1.3.3.0.a(Posix.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    `gcc' failed in phase `Linker'. (Exit code: 1)
)

my mac os Sierra версия 10.12.6.

Какя могу решить эту проблему?

...