|
커피향이 나는 *NIX
커피닉스
시스템/네트웍/보안을 다루는 곳
|
|
|
|
| 이전 주제 보기 :: 다음 주제 보기 |
| 글쓴이 |
메시지 |
angelfree 손님
|
올려짐: 2007.8.14 화, 5:37 pm 주제: openssl+bind9 컴파일시 DH_~ 및 DSA_ |
|
|
bind 7.? 버전 이후로 rpm 설치로만 사용한바
현재 bind 9 버전을 컴파일 설치하기 위하여 컴파일 설치를 시도하여 보았습니다.
그런데 bind 컴파일 하는 중 오류가 발생하더군요.
구글로 문자열 검색해 찾아 보았으나 영문이 아닌 알수 없는 나라의 링크가 보이더군요.
설치중 오류가 발생하여 이렇게 질문 던집니다.
설치시 버전은 아래와 같으며
- CentOS 4.5
- openssl-0.9.8e
- bind-9.4.1-P1
참고 페이지는 아래를 참고 하였습니다.
http://blog.naver.com/wooya510?Redirect=Log&logNo=60004791020
########## Install command history ##########
#----- Compile OpenSSL -----
# cd openssl-0.9.8e
# ./config --prefix=/usr/local --openssldir=/usr/local/openssl no-threads -fPIC
# make && make test && make install
#----- Compile Bind9 -----
# cd bind-9.4.1-P1
# ./configure \
> --prefix=/usr/local/bind \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --mandir=/usr/share/man \
> --with-openssl=/usr/local/openssl \
> --with-libtool \
> --enable-threads
# make
...
.....,/usr/local/bind/lib
../../lib/dns/.libs/libdns.so: undefined reference to `DH_generate_parameters_ex'
../../lib/dns/.libs/libdns.so: undefined reference to `DSA_generate_parameters_ex'
../../lib/dns/.libs/libdns.so: undefined reference to `RSA_generate_key_ex'
collect2: ld returned 1 exit status
make[2]: *** [named] 오류 1
make[2]: Leaving directory `/usr/local/src/bind-9.4.1-P1/bin/named'
make[1]: *** [subdirs] 오류 1
make[1]: Leaving directory `/usr/local/src/bind-9.4.1-P1/bin'
make: *** [subdirs] 오류 1
#
binㅇ9 컴파일시 위와 같은 오류 메시지가 확인 되었습니다.
libdns.so 파일에서 DH_~, DSA_~, RSA_~ 가 정의되지 않았다고는 하는데 무슨 의미인지 파악이 안되는 군요.
도움될 말씀 부탁드릴께요.. |
|
| 위로 |
|
 |
truefeel 카페 관리자
가입: 2003년 7월 24일 올린 글: 1277 위치: 대한민국
|
올려짐: 2007.8.15 수, 3:36 am 주제: Re: openssl+bind9 컴파일시 DH_~ 및 DSA_ |
|
|
| angelfree 씀: | #----- Compile OpenSSL -----
# cd openssl-0.9.8e
# ./config --prefix=/usr/local --openssldir=/usr/local/openssl no-threads -fPIC
# make && make test && make install
#----- Compile Bind9 -----
# cd bind-9.4.1-P1
# ./configure \
> --prefix=/usr/local/bind \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --mandir=/usr/share/man \
> --with-openssl=/usr/local/openssl \
> --with-libtool \
> --enable-threads
# make
...
|
openSSL configure할 때 --prefix=/usr/local 를 했다면 openSSL 라이브러리는 /usr/local/lib 에 설치됩니다.
그러나 bind 컴파일할 때는 with-openssl=/usr/local/openssl 를 지정했으므로 /usr/local/openssl/lib에서 라이브러리를 찾을 건데, 라이브러리가 없으니깐 컴파일할 때 에러가 난겁니다.
아마 bind configure할 때 openSSL 라이브러리 관련해서 체크하는 부분이 있을건데, 그 때 'no'라고 표시된 부분이 있을 겁니다. bind 컴파일시에 --with-openssl=/usr/local/openssl 대신 --with-openssl=/usr/local 으로 하면 컴파일이 될 것으로 보입니다. |
|
| 위로 |
|
 |
angelfree 손님
|
올려짐: 2007.8.19 일, 1:41 pm 주제: 고맙습니다 |
|
|
해결 되었습니다.
문제를 쫓아 나가는 방법에서 부족한 점이 있었던 것 같아요.
큰 도움이 되었습니다.
답변 고맙습니다. |
|
| 위로 |
|
 |
|
|
새로운 주제를 올릴 수 없습니다 답글을 올릴 수 없습니다 주제를 수정할 수 있습니다 올린 글을 삭제할 수 없습니다 투표를 할 수 없습니다
|
Powered by phpBB © 2001, 2005 phpBB Group
|