sendmail 설치과정에서의 오류.
작성자 정보
- 미국촌놈 작성
- 작성일
컨텐츠 정보
- 2,753 조회
- 0 추천
- 목록
본문
안녕하세요. sendmail 서버 구축과정에서의 오류발생으로 헤매고 있는 1인입니다.
에러가 발생하는 부분은 아래와같습니다.
/usr/local/sendmail-8.15.2/sendmail
Configuration: pfx=, os=Linux, rel=2.6.32-573.el6.x86_64, rbase=2, rroot=2.6.32-573.el6, arch=x86_64, sfx=, variant=optimized
Making in /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail
make[1]: Entering directory `/usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail'
cc -o sendmail main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/libsmutil/libsmutil.a /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/libsm/libsm.a -ldl
domain.o: In function `dns_getcanonname':
domain.c:(.text+0x221): undefined reference to `__res_querydomain'
domain.c:(.text+0x2ab): undefined reference to `__dn_skipname'
domain.c:(.text+0x3ce): undefined reference to `__dn_expand'
domain.c:(.text+0x45e): undefined reference to `__dn_expand'
domain.o: In function `getmxrr':
domain.c:(.text+0xa67): undefined reference to `__res_query'
domain.c:(.text+0xafc): undefined reference to `__dn_skipname'
domain.c:(.text+0xb49): undefined reference to `__res_search'
domain.c:(.text+0xd0e): undefined reference to `__dn_expand'
domain.c:(.text+0xdc0): undefined reference to `__dn_expand'
sm_resolve.o: In function `dns_lookup_int':
sm_resolve.c:(.text+0x197): undefined reference to `__res_search'
sm_resolve.c:(.text+0x2d1): undefined reference to `__res_search'
sm_resolve.c:(.text+0x402): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x529): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x71d): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x875): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x944): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [sendmail] Error 1
make[1]: Leaving directory /usr/local/sendmail-8.15.2/sendmail
Configuration: pfx=, os=Linux, rel=2.6.32-573.el6.x86_64, rbase=2, rroot=2.6.32-573.el6, arch=x86_64, sfx=, variant=optimized
Making in /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail
make[1]: Entering directory `/usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail'
cc -o sendmail main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/libsmutil/libsmutil.a /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/libsm/libsm.a -ldl
domain.o: In function `dns_getcanonname':
domain.c:(.text+0x221): undefined reference to `__res_querydomain'
domain.c:(.text+0x2ab): undefined reference to `__dn_skipname'
domain.c:(.text+0x3ce): undefined reference to `__dn_expand'
domain.c:(.text+0x45e): undefined reference to `__dn_expand'
domain.o: In function `getmxrr':
domain.c:(.text+0xa67): undefined reference to `__res_query'
domain.c:(.text+0xafc): undefined reference to `__dn_skipname'
domain.c:(.text+0xb49): undefined reference to `__res_search'
domain.c:(.text+0xd0e): undefined reference to `__dn_expand'
domain.c:(.text+0xdc0): undefined reference to `__dn_expand'
sm_resolve.o: In function `dns_lookup_int':
sm_resolve.c:(.text+0x197): undefined reference to `__res_search'
sm_resolve.c:(.text+0x2d1): undefined reference to `__res_search'
sm_resolve.c:(.text+0x402): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x529): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x71d): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x875): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x944): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [sendmail] Error 1
make[1]: Leaving directory `/usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail'
컴파일 과정에서의 에러로 /usr/local/sendmail-8.15.2/obj.Linux.2.6.32-573.el6.x86_64.x86_64/sendmail 아래에 sendmail 이라는 바이너리파일 생성이 안됩니다.
혹시 저와 같은 경험이 있으셔서 해결하셨던 분이나 고수분들의 도움을 기다리겠습니다.
감사합니다.
관련자료
-
이전
-
다음