Problems compiling some ports on AMD64

Tomas Randa lists at
Wed Sep 15 07:12:27 PDT 2004

Hi, i have following problems with compiling p5-vpopmail port on AMD64:

===>  Building for p5-vpopmail-0.08
rm -f blib/arch/auto/vpopmail/
LD_RUN_PATH="" cc  -shared  -L/usr/local/lib vpopmail.o  -o
-L/usr/local/vpopmail/lib-lvpopmail -lcrypt
/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
*** Error code 1

Stop in /usr/ports/mail/p5-vpopmail/work/vpopmail-0.08.
*** Error code 1

Stop in /usr/ports/mail/p5-vpopmail.

I tried to add -fPIC to CPUFLAGS in /etc/make.conf with no effect.
A searched the archives, but no answer found.. please help me anyone.

Thanks TR

More information about the freebsd-amd64 mailing list