[CentOS 7] configure: error: C compiler cannot create executables
·
🛠 DevOps & Tool/Linux
$ ./configure --with-apxs=/usr/bin/apxs Apache와 wildfly 연동 작업 중에 에러가 발생했다. 에러 configure: error: in `/usr/local/src/tomcat-connectors-1.2.48-src/native': configure: error: C compiler cannot create executables 해결 mod_jk를 설치하려면 gcc, gcc-c++, httpd-devel 3가지 패키지가 설치되어 있어야 한다. httpd-devel은 이미 설치했으므로 $ yum install gcc gcc-c++ gcc, gcc-c++를 설치해주고 다시 시도하면 컴파일이 정상적으로 된다. $ ./configure --with-apxs=/usr/bi..