[Kroupware] Build error: postfix-2.0.10-20030524 on RH9
Dave Niemchick
david.niemchick at mint.steelcase.com
Mon Jun 2 11:10:59 CEST 2003
I fixed this on my RH9 system by adding a link to the 'pthread' lib in the spec file (AUXLIBS="$AUXLIBS -lpthread").
Hope this helps.
-- Dave Niemchick
wb99 at utanet.at wrote:
>Hi !
>I tried to install the kolab server 1.0 on an Pentium 4 with RedHat 9.
>I used the QIM (including the environment variables) to install it.
>
>When reaching the compilation of postfix i got the following errors:
>
>------
>HAS_DB -DHAS_PCRE -DUSE_SASL_AUTH -I/kolab/include/sasl -DHAS_SSL -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/kolab/lib -ldb
>-lpcre -lsasl2 -lcrypt -ldl -lssl -lcrypto -L/kolab/lib -lfsl -lnsl -ldb
>-lnsl -lresolv
>/kolab/lib/libdb.a(mut_pthread.o): In function `__db_pthread_mutex_init':
>mut_pthread.o(.text+0x96): undefined reference to `pthread_mutexattr_destroy'
>mut_pthread.o(.text+0x14b): undefined reference to
>`pthread_condattr_setpshared'
>mut_pthread.o(.text+0x177): undefined reference to `pthread_mutexattr_init'
>mut_pthread.o(.text+0x191): undefined reference to
>`pthread_mutexattr_setpshared'
>/kolab/lib/libdb.a(mut_pthread.o): In function `__db_pthread_mutex_lock':
>mut_pthread.o(.text+0x1f4): undefined reference to `pthread_mutex_trylock'
>collect2: ld returned 1 exit status
>make: *** [master] Error 1
>make: *** [update] Error 1
>error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.41152 (%build)
>
>
>RPM build errors:
> Bad exit status from /kolab/RPM/TMP/rpm-tmp.41152 (%build)
>------
>
>Does anybody know how to fix this ?
>Any ideas - suggestions will be helpfull.
>Thanks in advance,
>
>Bernhard Wiedenhofer
>Austria
>
>
>_______________________________________________
>Kroupware mailing list
>Kroupware at mail.kde.org
>http://mail.kde.org/mailman/listinfo/kroupware
>
>
More information about the Kroupware
mailing list