ghc-musl
ghc-musl copied to clipboard
Linker problem building a `monomer` app
I'm trying to build a monomer
app and I'm getting linker errors:
I think I have the required dependencies (sdl2-dev and glew-dev), but the linker fails anyways. The libraries are actually located in /usr/lib
as they should be:
Still, the linker does not find them. Any ideas on what to do?
Example project: https://github.com/sproott/monomer-static-build-problem
According to this comment thread on Reddit, it's impossible to statically link X11 and GL, so I'll just resort to a distro-specific dynamic executable. Should I close this for now?
@sproott Nice find, thanks for sharing!
My impression from that thread is that it is not impossible; but it definitely seems to require much more intimate knowledge than I have. So, let's keep the issue open with the hope that someone might provide a way out or the situation changes in future.