/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
이런 오류가 발생할 경우.. 64bit 에서 configure 에 추가해야 할 사항이 있다.
위의 경우 64bit OS 에서 mod-ssl 을 지원 하기 위해 compile 을 할때 나타나며
해결 방법은 다음과 같다.
./config -fPIC && make && make install
www.openssl.or.kr 에서는 -fPIC 옵션에 대해 다음과 같이 설명한다.
./config -fPIC로 해야지만, DSO판 작성시에 필요한 PIC(Postion Independent Code) 옵션을 지정해 configure 한다.
댓글 없음:
댓글 쓰기