2012.12.28 18:46
64bit 에서 php 컴파일시 에러 메세지 발생 시 대처방법
메세지예)
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
방법)
openssl,php 컴파일시 아래 옵션을 주고 다시 컴파일 합니다.
CFLAGS="-fPIC"
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
3 | Indexes 값 제거 | 호스트웨이 | 2015.09.18 | 7917 |
2 | Apache / PHP 최신버전 설치하기 | 호스트웨이 | 2015.09.25 | 16496 |
1 | server-status를 이용한 아파치 모니터링 방법 | 호스트웨이 | 2016.04.05 | 18242 |