OS/Linux&Unix
curl http/2
태하팍
2017. 3. 21. 22:19
반응형
ENV
Mac OS 10.12
TEST를 위해 curl http/2 지원 버전이 필요하였다.
$ brew install curl --with-nghttp2
$ brew link curl --force
위의 명령을 수행하는데 오류가 아래와 같이 났다.
ERROR
set the environment variables ZLIB_CFLAGS
Warning: curl is a keg-only and another version is linked to opt.
Package requirements (zlib >= 1.2.3) were not met
you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config
RESULT
brew 버전이 낮아서 나는 문제였다..끙..
https://brew.sh 에서 다운 또는 아래를 터미널에서 수행해보자!
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
반응형