LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2011, 02:35 AM   #1
nqk28703
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Rep: Reputation: 0
Unhappy 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.
 
Old 07-23-2011, 03:53 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Why don't you use apt-get to install the postfix package? Have a look here for details

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Ubuntu ver 9.04 as in CD from On-Disk.com cagosg Ubuntu 1 10-02-2009 03:04 PM
Why do I fail to install opera in my ubuntu system? englishcctv Linux - Newbie 9 05-25-2009 11:21 PM
Fail to start X server on ubuntu install... frascelly Linux - Newbie 2 04-16-2007 12:01 AM
suse, ubuntu, kubuntu all fail to install adele Linux - Laptop and Netbook 6 03-15-2007 04:14 AM
multiple install problems, ubuntu ver:6.06 LTS deft Ubuntu 2 11-28-2006 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration