Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-17-2004, 02:50 AM   #1
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Postfix compilation error


I installed Postfix mail server on my RedHat 8.0 server before.However,I am not very satisfied.As a result,I am installing a brand new Postfix with lots of the like (MySQL,courier-imap,Clamav...) on my Fedora Core 1 (Not rpm package now) computer.

As expected,I encounter errors while I was "make install" Postfix.Errors are as follows:

/usr/local/bdb/lib/ undefined reference to `pthread_condattr_setpshared'
/usr/local/bdb/lib/ undefined reference to `pthread_mutexattr_destroy'
/usr/local/bdb/lib/ undefined reference to `pthread_mutexattr_setpshared'
/usr/local/bdb/lib/ undefined reference to `pthread_mutexattr_init'
/usr/local/bdb/lib/ undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1
I have followed the instructions which I found at google but the problems still exist.Anyone has any ideas?Thanks a lot.

P.S.Please don't tell me to install rpm package instead because I know how to install with rpm package,I just want to try compilation from tarball and has much more freedom on it.
Old 12-28-2004, 02:04 AM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
You need to link to the pthread library, ie
make AUXLIBS=-lpthread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
postfix + mysql compilation santiagofs Fedora 2 05-03-2004 12:07 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM
Sqwebmail compilation error ... [maildirsearchC.o] Error 1 boogie_maan Linux - Software 0 10-26-2002 07:21 PM
compilation error guppy Linux - Newbie 1 06-15-2001 03:41 AM

All times are GMT -5. The time now is 04:10 AM.

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