On Mac Os : configure: error: cannot find lib gif
Sorry for Mac OS again. When executing
./configure
It shows
checking for style of include used by make... GNU checking dependency style of gcc... gcc3 ./configure: line 3994: PKG_PROG_PKG_CONFIG: command not found checking for ar... ar checking the archiver (ar) interface... ar checking for ranlib... ranlib checking for pcap_open_live in -lpcap... yes checking for pthread_create in -lpthread... yes checking for g_free in -lglib-2.0... yes checking for g_signal_connect_data in -lgobject-2.0... yes checking for gtk_main in -lgtk-quartz-2.0... yes checking for gdk_window_get_state in -lgdk-quartz-2.0... yes ./configure: line 4565: --cflags: command not found checking for DGifOpenFileHandle in -lgif... no configure: error: cannot find lib gif
But no formulae named "gif" or "libungif" in Homebrew, btw, I have installed "giflib". Have you ever encountered this error?Thanks!
Seems related to #14 (pkg-config not found), could you take a look ?
Installing version 4.1.6 of giflib fixed this error for me, could not get it to work with 5.x
I have this problem too. However when I run brew reinstall giflib, it fixes.