sendmail-8.14.9설치를 하는데 domain.o: In function `getmxrr': domain.o: In function `dns_getcanonname': 뭐 이런 에러가 발생합니다.
sh ./Build 를 하면 컴파일은 되는 거 같은 데 sendamil binary 파일이 안만들어집니다. 그래서 따로 sendmail에 디렉토리로 들어가서 build할시 아래와 같은 에러가 발생합니다.
해결 방법 아시는 분 있으시나요?
root@ip-192-168-10-172:/usr/local/sendmail/sendmail-8.14.9/sendmail# ./makesendmail
Configuration: pfx=, os=Linux, rel=3.2.0-58-virtual, rbase=3, rroot=3.2, arch=x86_64, sfx=, variant=optimized
Making in /usr/local/sendmail/sendmail-8.14.9/obj.Linux.3.2.0-58-virtual.x86_64/sendmail
cc -o sendmail -L/usr/local/BerkeleyDB.4.1/lib 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/sendmail-8.14.9/obj.Linux.3.2.0-58-virtual.x86_64/libsmutil/libsmutil.a /usr/local/sendmail/sendmail-8.14.9/obj.Linux.3.2.0-58-virtual.x86_64/libsm/libsm.a -ldb -ldl -ldb -lpthread
domain.o: In function `getmxrr':
domain.c:(.text+0x1f0): undefined reference to `__res_search'
domain.c:(.text+0x200): undefined reference to `__res_query'
domain.c:(.text+0x2a5): undefined reference to `__dn_skipname'
domain.c:(.text+0x4f4): undefined reference to `__dn_expand'
domain.c:(.text+0x5be): undefined reference to `__dn_expand'
domain.o: In function `dns_getcanonname':
domain.c:(.text+0x1017): undefined reference to `__res_querydomain'
domain.c:(.text+0x10ab): undefined reference to `__dn_skipname'
domain.c:(.text+0x1213): undefined reference to `__dn_expand'
domain.c:(.text+0x12a1): undefined reference to `__dn_expand'
sm_resolve.o: In function `dns_lookup_int':
sm_resolve.c:(.text+0x21d): undefined reference to `__res_search'
sm_resolve.c:(.text+0x313): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x42e): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x598): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x6d8): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x799): undefined reference to `__dn_expand'
sm_resolve.c:(.text+0x99f): undefined reference to `__res_search'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
댓글 달기