Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 16:12:24 +0200
From:      Tomas Randa <lists@hosting50.cz>
To:        freebsd-amd64@freebsd.org
Subject:   Problems compiling some ports on AMD64
Message-ID:  <1095257544.719.4.camel@ares.af.czu.cz>

next in thread | raw e-mail | index | archive | help
Hi, i have following problems with compiling p5-vpopmail port on AMD64:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1095257544.719.4.camel>