[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issues with yaml



On Tue, Oct 23, 2018 at 01:11:15AM +0000, Dmitry Bogatov wrote:
> I have hard time to build yaml with ghc-8.4. As in state in
> DHG_packages, it fails to build with linking error (attached)
> 
> If I patch yaml.cabal to include 'ld-options: -lyaml', library builds
> fine, build test suite fails with unresolved 'yaml_initialize_parser'.
> So, oblivious solution, that would work for me is to
> 
>  * add ld-options: -lyaml

Don't use ld-options that way.  Instead, try 

    pkgconfig-depends: yaml-0.1

or

    extra-libraries: yaml


Reply to: