curl http/2

2017. 3. 21. 22:19OS/Linux&Unix

반응형



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)"

반응형

'OS > Linux&Unix' 카테고리의 다른 글

pokemon skin  (0) 2017.06.22
yum에 대해 알아보자.  (0) 2017.05.09
리눅스 - scp file copy  (1) 2017.01.22
top 명령&옵션  (0) 2016.12.21
Crontab을 이용해보자!  (0) 2016.11.11