Date: Mon, 26 Jan 2004 13:20:10 -0400 From: David Bremner <bremner@unb.ca> To: freebsd-ports@FreeBSD.org Subject: perl 5 extensions on AMD64 Message-ID: <0twu7e8w51.wl@nohost.unb.ca>
next in thread | raw e-mail | index | archive | help
I have just discovered (Hi Kris!) that a port I made does not work on AMD64 A quick look at the bento error logs reveals several p5-* ports with the same fatal error c -O -pipe -fpic -DPIC -shared -Wl,-x,-soname,libplperl.so.0 plperl.o eloglvl.o SPI.o -L../../../src/port -Wl,-E -L/usr/local/lib /usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lc -lcrypt -lutil -R/usr/local/lib -o libplperl.so.0 /usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad value gmake: *** [libplperl.so.0] Error 1 gmake: Leaving directory `/tmp/a/ports/databases/p5-postgresql-plperl/work/postgresql-7.4.1/src/pl/plperl' *** Error code 2 To this non-expert observer, that suggest that the perl 5 extension mechanism is not working write on AMD64. Can anyone point to a p5-* port, that 1) works on AMD64 2) makes a shared library for an extension. (oh, same question for IA64 I guess, although I have not trawled the logs).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0twu7e8w51.wl>