我想在兼容的ghc-vis
上运行svgcairo
。为了使依赖项匹配,我尝试遵循多项目安装指南,但似乎不起作用。
我做错了还是是错误?
$ mkdir ghc-vis-multimodule
$ cd ghc-vis-multimodule
$ stack unpack ghc-vis
$ stack unpack svgcairo
$ stack init
$ stack ghci
>>> :script ghc-vis-0.9/ghci
>>> :vis
ByteCodeLink: can't find label
During interactive linking, GHCi couldn't find the following symbol:
rsvg_handle_new
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please send a bug report to:
glasgow-haskell-bugs@haskell.org