[Bug 1026] New: Postfix requires threads library to build.

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Mon Oct 18 06:52:39 PDT 2004


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=1026

           Summary: Postfix requires threads library to build.
           Product: Beyond LinuxFromScratch
           Version: SVN
          Platform: PC
               URL: http://www.linuxfromscratch.org/blfs/view/svn/server/mai
                    l.html#postfix
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: BOOK
        AssignedTo: blfs-book at linuxfromscratch.org
        ReportedBy: stef at mort.level5.net
         QAContact: blfs-book at linuxfromscratch.org


gcc -Wmissing-prototypes -Wformat -DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 
-o master master.o master_conf.o master_ent.o master_sig.o master_avail.o 
master_spawn.o master_service.o master_status.o master_listen.o master_vars.o 
master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a 
-L/usr/lib -lpcre -ldb -lnsl -lresolv
/usr/lib/libdb.so: undefined reference to `pthread_condattr_setpshared'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_init'
/usr/lib/libdb.so: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

I'm guessing it's the NPTL in Berkeley makes postfix upset.

To build successfully

AUXLIBS="$AUXLIBS -lpthread"



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the blfs-book mailing list