Closed cryzed closed 7 years ago
This seems to be an issue with gcc. libconfig was probably compiled with gcc 4 and you're trying to compile ahoviewer with gcc 5.
You can try setting the CXXFLAGS before running ./configure
like so CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./configure
and see if that fixes it.
I tried that myself, it fails to link all other libraries when using that.
Thanks, Arch.
Arch's libconfig package has been outdated for a year now. I've tried to talk about this on the Arch IRC but I've only received snarky comments and unfunny jokes.
This goddamn distro and its entire community are such a pain in the ass.
I think the best we can do is just download the package source for libconfig and recompile it.
I think the best we can do is just download the package source for libconfig and recompile it.
That's what I'd recommend.
@OrdinaryMagician if you aren't too fed up with Arch yet, I customized the PKGBUILD which conflicts/provides libconfig 1.6 and replaces the official package until it gets updated. You can find it here: https://gist.github.com/cryzed/2c5c954e40e285773d29c16c04cdca4c
Compiling the latest ahoviewer-git from AUR works with it. I also contacted the maintainer, arojas, on IRC and linked him the same gist and asked that he update it at some point.
Fails to build with libconfig version 1.5-3 on Arch Linux: