Bug 88402 - mail/courier-authlib-vchkpw doesn't compile on AMD64 due vpopmail error
Summary: mail/courier-authlib-vchkpw doesn't compile on AMD64 due vpopmail error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
Depends on:
Reported: 2005-11-02 17:00 UTC by Matteo Baldi
Modified: 2005-11-17 22:55 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Baldi 2005-11-02 17:00:32 UTC
compiling courier-auth-vchkpw on AMD64 system (6.0-STABLE) give this error:

Linking libcourierauthcommon.la
Linking libauthvchkpw.la
/usr/bin/ld: /usr/local/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value
gmake[2]: *** [libauthvchkpw.la] Error 1
gmake[2]: Leaving directory `/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/mail/courier-authlib-vchkpw/work/courier-authlib-0.57'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/mail/courier-authlib-vchkpw.
*** Error code 1

Stop in /usr/ports/mail/courier-authlib-vchkpw.


cd /usr/ports/mail/vpopmail
	make CFLAGS=" -fPIC -O -pipe" install
On a 64bit system:
	cd /usr/ports/mail/vpopmail
	make install
	cd /usr/ports/mail/courier-authlib-vchkpw
	make install
Comment 1 Oliver Lehmann freebsd_committer 2005-11-02 17:07:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Can you change CFLAGS for amd64 in mail/vpopmail so it'll compile? 
If you need a system to test that change I'm volunteering to compile 
it on my amd64
Comment 2 Peter Pentchev freebsd_committer 2005-11-17 22:55:17 UTC
State Changed
From-To: open->closed

Fix committed, thanks!