subversion 설치 시 오류 좀 도와주세요.
환경
Linux version 2.6.18-128.el5
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-44))
x86_64 x86_64 x86_64 GNU/Linux
./configure --with-zlib=/usr/zlib-1.2.5 --without-berkeley-db --with-openssl=/usr/openssl-1.0.0
실행 후 make 하면 아래와 같이 메시지가 나오네요.
openssl 설치 시 -fPIC 옵션도 줘보았습니다.
어제부터 해결 못 하고 있네요.
도움 좀 주세요.
/usr/subversion-1.6.11/apr/libtool --silent --mode=link gcc -L/usr/openssl-1.0.0 -R/usr/openssl-1.0.0 -rpath /usr/local/serf/lib -o libserf-0.la buckets/aggregate_buckets.lo buckets/request_buckets.lo context.lo buckets/buckets.lo buckets/simple_buckets.lo buckets/file_buckets.lo buckets/mmap_buckets.lo buckets/socket_buckets.lo buckets/response_buckets.lo buckets/headers_buckets.lo buckets/allocator.lo buckets/dechunk_buckets.lo buckets/deflate_buckets.lo buckets/limit_buckets.lo buckets/ssl_buckets.lo buckets/barrier_buckets.lo buckets/chunk_buckets.lo /usr/subversion-1.6.11/apr-util/libaprutil-1.la /usr/subversion-1.6.11/apr-util/xml/expat/lib/libexpat.la /usr/subversion-1.6.11/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl -lm -lz -lssl -lcrypto
/usr/bin/ld: /usr/openssl-1.0.0/libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/openssl-1.0.0/libcrypto.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libserf-0.la] 오류 1
make[1]: Leaving directory `/usr/subversion-1.6.11/serf'
make: *** [external-all] 오류 1
자답!
openssl-0.9.7m.tar.gz 버전으로 설치하니까 되네요. ㅎㅎㅎ
댓글 달기