'fPIC'에 해당되는 글 1건
2009. 8. 3. 11:29
[서버관련]
리눅스에서 php설치시
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when mak ing a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
에러시
zlib 설치를
./configure -s
로 shared library 로 컴파일하고php를 재설치한다.
잘된다.;;