-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Archlinux] libgflags not found on configure #44
Comments
I noticed that gflags is easy to install on linux but (on Ubuntu 16.04) lacks the /usr/lib/x86_64-linux-gnu/pkgconfig/libgflags.pc it needs. While I just tossed this into that file, the underlying problem is that pkg-config isn't bright enough to find a library that's on the system without the extra metadata. I think the gflags guys have an issue open on this already, but mostly I'd call this a problem with pkg-config.
All that aside, even with libgflags installed and findable, my build still broke with this on the last step for hiptext itself:
I had to add the -lgflags option manually. Heh. |
I was able to get it to compile by doing:
In movie.cc, I also had to prefix all occurences of |
Thanks so much guys, using @TCatshoek replacements together with renaming every occurence of |
Still couldn't get it working under debian stretch with Replacing all "libgflags" with "gflags" won't work either, says "No package 'gflags' found". I wonder whether I'm missing something. |
On Ubuntu 18 it was A big thank you to @TCatshoek for figuring it out and providing the steps. |
sed -i 's/PIX_FMT_RGB24/AV_PIX_FMT_RGB24/g' src/movie.cc |
Still broken as of now. The installation instructions should work on standard base distributions like Debian, Fedora, Suse, Arch, Gentoo, Slackware, or whatever is considered base nowadays. (If it runs in Ubuntu and Gentoo, I personally am fine, but this is not about me.) |
Also fails on ubuntu 24, it cannot find the libgflag, while i just did install it |
When following the compile instructions on the readme, this error occurs on executing
./configure
The gflags package for Archlinux includes all development libraries including libgflags.so, but the autoconf fails, most probably because the package is called "gflags", not "libgflags".
How could this be fixed? Setting environment variables helps, but seems to be a rather bad compromise for me.
The text was updated successfully, but these errors were encountered: