Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 17:14:45 +0100
From:      Adriaan de Groot <adridg@cs.kun.nl>
To:        freebsd-amd64@freebsd.org
Subject:   Re: A different buildworld failure
Message-ID:  <200403241714.45254.adridg@cs.kun.nl>
In-Reply-To: <200403240755.25406.peter@wemm.org>
References:  <Pine.GSO.4.44.0403240940400.13952-100000@wn4.sci.kun.nl> <200403240751.06524.peter@wemm.org> <200403240755.25406.peter@wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 24 March 2004 16:55, Peter Wemm wrote:
> On Wednesday 24 March 2004 07:51 am, Peter Wemm wrote:
> > You should be linking against libperl.so or embedding libperl_pic.a.
> > Except I've just looked and its missing.  Argh!  I wonder when that
> > happened?  I'm sure it was working at one point...  Hmm. perl5.8 has
> > a libperl.so and its now the default for 5.x ports.. is that
> > something you can use?

Yes, I can. That's not an issue ( I was blindly following the POD docs for=
=20
embedding stuff, from the perl site, and it uses=20

perl -MExtUtils::Embed -e ldopts

to determine the linker flags to use. For me, that's=20

=2D -Wl,-E =20
=2D -L/usr/local/lib /usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLo=
ader.a=20
=2D -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lc -lcrypt -lutil

and now you can see where the problem is coming from. It's no biggie -- I w=
as=20
just showing _why_ I should be so brain dead as to try to compile lots of=20
stuff with -fPIC.


> I just reran 'make configure' on the perl5 port, and noticed from its
> configure output:
> Build a shared libperl.so (y/n) [n]

That would be it. Does it make sense to tweak the port to build shared by=20
default on amd64?=20

=2D --=20
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot@kde.org>
                     Would you like a freem?
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAYbP1dqzuAf6io/4RAo2kAJ0d8rjtnwEPiGMPRBxJth1rV9Ne3gCeNlck
6Zle7orzUHwy+IxNtXWSbzY=3D
=3DwaSr
=2D----END PGP SIGNATURE-----



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