I'm trying to build qmailtoaster on a CentOS 5.7 build, and the vpopmail-toaster build is failing.
The exact command that's breaking it is: gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib64/mysql -lmysqlclient -lz -lm -lcrypt which throws lots of undefined reference errors related to 'pthread' (POSIX thread library) before dying in the linker. If I do: gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib64/mysql -lmysqlclient -lz -lm -lcrypt -lpthread -ldl the command completes without error. Is there a way that I can force "-lpthread -ldl" to be passed to 'gcc' at that point? Or can I edit the RPM spec file to add those arguments somehow? Thanks in advance for any suggestions Angus --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com