Closed
Description
On Ubuntu 16.04
the permission is root
lyl@lyl:~/program/guetzli$ ls
bin CONTRIBUTING.md guetzli.make guetzli.vcxproj LICENSE obj premake5.lua snapcraft.yaml tools zlib.BUILD
BUILD guetzli guetzli.sln guetzli.vcxproj.filters Makefile png.BUILD README.md third_party WORKSPACE
and,
lyl@lyl:~/program/guetzli$ make
==== Building guetzli (release) ====
jpeg_data_encoder.cc
Package gflags was not found in the pkg-config search path.
Perhaps you should add the directory containing `gflags.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gflags' found
.....
.....
.....
collect2: error: ld returned 1 exit status
guetzli.make:103: recipe for target 'bin/Release/guetzli' failed
make[1]: *** [bin/Release/guetzli] Error 1
Makefile:26: recipe for target 'guetzli' failed
make: *** [guetzli] Error 2
What Problem???
Activity
stingbo commentedon Mar 20, 2017
The same problme with me
bobonri commentedon Mar 20, 2017
I have the same problem as well.
If you try to install
libgflags-dev
withapt-get install libgflags-dev
on Ubuntu 16.04, it will install the library v2.1.2.3. But thepkg-config
support is only added in v2.2 so you might want to install this version manually.You can check the gflags github page
abcfy2 commentedon Mar 20, 2017
Same issue here. May be duplicated as #74
robryk commentedon Mar 20, 2017
#97 removes the dependency on gflags. Please update to the current version, try again, and reopen if problems persist. Sorry for the trouble.