LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-08-2006, 07:07 AM   #1
dtra
Member
 
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 atrpms.net to use mysql 5, instead of mysql 4
(spec and src rpm from http://atrpms.net/dist/fc4/dovecot/)

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

i have mysql 5 installed (via mysql.com 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?

Code:
/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
dave
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 PM.

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