LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 02-24-2009, 06:12 PM   #1
saif.sicsr
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
Postfix Compilation Error


Hello Admin

please help me if anyone here familiar with this error.

I have one machine Installed with CentOS 5.2
i hav compiled and installed postfix 2.5.1 or its throwing some error

Compilation steps:

#make makefiles \CCARGS='-DUSE_TLS -I/usr/include/openssl/'AUXLIBS='-L/usr/lib -lssl -lcrypto'

Compiling with TLS Support

#make install

It directly installed postfix sending and receiving is ok
but Its doesnt support TLS.

Its showing some error like this


Feb 25 04:39:02 magic postfix/smtpd[9876]: warning: TLS has been selected, but TLS support is not compiled in

Help me if any body have same experience the same before


Regards,
Saif
 
Old 02-24-2009, 07:04 PM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 568

Rep: Reputation: 64
Try these commands:
Code:
type postfix
ls -l /usr/sbin/postfix /usr/local/sbin/postfix
I'm guessing that the make install command installed the new binaries under /usr/local/ and you have an older version installed under /usr/.
 
Old 02-25-2009, 05:15 AM   #3
saif.sicsr
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hello,

As suggested tried these commands and the output is as follows.


[root@mail ~]# ls -l /usr/sbin/postfix
-rwxr-xr-x 1 root root 272535 Feb 25 04:26 /usr/sbin/postfix

[root@openemm ~]# ls -l /usr/local/sbin/postfix
ls: /usr/local/sbin/postfix: No such file or directory



No binary in /usr/local/sbin/postfix found.


I am using postfix2.5.1 please guide me.
 
Old 02-25-2009, 05:30 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Is there any particular reason why you need 2.5.1 over 2.3.3 which is in the repositories?
 
Old 02-25-2009, 06:23 PM   #5
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 568

Rep: Reputation: 64
OK, the postfix in /usr/sbin is dated today, so that's apparently the one you compiled. But there's still an outside chance that there is another version installed. The type postfix or which postfix commands will show you which executable actually executes. Maybe there is one in /usr/bin, or maybe you have directories in your PATH variable setup in a non-standard way.

There is a reason why I suspect this. It looks like you compiled it to use TLS, but the executable that you are executing says TLS is not compiled in. That kind of error is quite common when you compile it one way and then accidentally execute a different executable.

There is another thing to check for. You can grep the source code for USE_TLS. You should see a number of lines something like this:
#ifdef USE_TLS
If you don't see any, you're probably using the wrong define.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Compilation Error saif.sicsr Linux - Server 1 02-26-2009 06:40 AM
Inkscape compilation error: *** [extension/internal/pdfinput/pdf-parser.o] Error 1 w1k0 Slackware 12 10-25-2008 09:53 AM
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 12:42 AM
Postfix compilation error Swift&Smart Linux - Software 1 12-28-2004 02:04 AM
postfix + mysql compilation santiagofs Fedora 2 05-03-2004 12:07 PM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration