GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
(Imported from Trac #944, reported by PaulVanDerWalt on 2012-04-22)
I've run into a problem where I want to include the vty and haskeline packages, which both contain the same C code, of which the symbol names are not translated or made unique. When I use both packages, and try to compile something which has Template Haskell (which triggers loading of all dependencies), I get the following error.
GHCi runtime linker: fatal error: I found a duplicate definition for symbol
whilst processing object file
A workaround is to patch the libraries to make the function names unique, but this is less than ideal.