Fail to compile and install Postfix (ver:2.4.8) on Ubuntu 11.04...
Hi,
I am having problem while compiling postfix 2.8.4 in Ubuntu 11.04. It gives me error as
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -g -O -I. -I../../
include -DLINUX2 -o sendmail sendmail.o ../../lib/libglobal.a ../../
lib/libutil.a -L/usr/lib/i386-linux-gnu -lpcre -ldb
../../lib/libutil.a(dict_nis.o): In function `dict_nis_lookup':
/usr/src/postfix-2.8.4/src/util/dict_nis.c:172: undefined reference to
`yp_match'
/usr/src/postfix-2.8.4/src/util/dict_nis.c:186: undefined reference to
`yp_match'
../../lib/libutil.a(dict_nis.o): In function `dict_nis_init':
/usr/src/postfix-2.8.4/src/util/dict_nis.c:81: undefined reference to
`yp_get_default_domain'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
make: *** [update] Error 1
Now after that when I type as
# postfix
It doesn't recognize postfix command.
Any suggestions are highly welcomed.
Pleas help.
|