Skip to content
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

On Mac Os : configure: error: cannot find lib gif #22

Open
ztjoel opened this issue Jan 5, 2018 · 3 comments
Open

On Mac Os : configure: error: cannot find lib gif #22

ztjoel opened this issue Jan 5, 2018 · 3 comments
Labels

Comments

@ztjoel
Copy link

ztjoel commented Jan 5, 2018

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!

@deiv
Copy link
Owner

deiv commented Apr 12, 2018

Seems related to #14 (pkg-config not found), could you take a look ?

@Someboi
Copy link

Someboi commented Jun 10, 2018

Installing version 4.1.6 of giflib fixed this error for me, could not get it to work with 5.x

@deiv deiv added the bug label Jun 13, 2018
@imofelrj
Copy link

I have this problem too. However when I run brew reinstall giflib, it fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants