If you happen to be following this tutorial (http://www.simplisticcomplexity.com/2006/8/13/apache-2-2-mod_proxy_balancer-mongrel-on-ubuntu-6-06) and you receive the following error message when compiling Apache 2.2.3 on Ubuntu Dapper Drake.
---------------->
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
---------------->
Here is the solution; add this flag when configuring zlib: CFLAGS="-O3 -fPIC" ./configure
This helpful nugget worked for me, I hope it helps someone else.
'Linux > Tip' 카테고리의 다른 글
Using Intel Compilers for Linux with Ubuntu (0) | 2012.10.01 |
---|---|
아파치 설치 (0) | 2012.10.01 |
우분투 - 호스트네임 설정 (0) | 2012.10.01 |
우분투 : 아파지 서버의 설정 방법 (0) | 2012.10.01 |
리눅스에서 Apache 2.2 + Tomcat 6.0 원초적인 설치방법 (0) | 2012.10.01 |