Download your favorite Linux distribution at LQ ISO.
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 05-08-2006, 08:07 AM   #1
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
rebuilding dovecot beta src.rpm with mysql 5 error

hi all

using fedora core 4

i'm trying to rebuild the dovecot 1.0 beta 7 src rpm from to use mysql 5, instead of mysql 4
(spec and src rpm from

but i'm having issues when it gets to the mysql part of the make

i have mysql 5 installed (via rpm's)

i changed the spec file where it says Buildrequires
to say MySQL-devel (instead of mysql-devel)

but it always comes back with this error, and i don't know what it means, i also tried leaving it as mysql-devel, but still get the same error

when i run
rpmbuild -ba dovecot.spec && rpm -Uvh --force ../RPMS/i386/dovecot*

am i doing this completely wrong, is there something else i need to do to be able to use mysql 5?

/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function `sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x8e7):/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 191 in ../lib/liblib.a(sha1.o) to 126 in /usr/lib/mysql/libmysqlclient.a(sha1.o)
collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.84952 (%build)
any ideas


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
IMAP (Dovecot) & MySQL - Maildir path error ronkymac Linux - Software 0 03-24-2006 04:10 PM
fetchmail-6.2.5-6.el4.2.src.rpm/ rebuild error louisb Linux - Enterprise 0 07-28-2005 02:16 PM
rebuilding cyrus-sasl src.rpm w/mysql support fails willwrk4u Red Hat 1 04-17-2004 03:34 PM
error with installing src.rpm morningstar665 Linux - Software 5 11-23-2003 01:56 PM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 06:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 PM.

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
Open Source Consulting | Domain Registration