LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-17-2004, 02:50 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Postfix compilation error


Hello,everyone!

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:

Quote:
/usr/local/bdb/lib/libdb.so: undefined reference to `pthread_condattr_setpshared'
/usr/local/bdb/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy'
/usr/local/bdb/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/bdb/lib/libdb.so: undefined reference to `pthread_mutexattr_init'
/usr/local/bdb/lib/libdb.so: 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
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

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


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


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 12:59 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