A different buildworld failure

Adriaan de Groot adridg at cs.kun.nl
Wed Mar 24 08:14:48 PST 2004


-----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 
embedding stuff, from the perl site, and it uses 

perl -MExtUtils::Embed -e ldopts

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

- -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

and now you can see where the problem is coming from. It's no biggie -- I was 
just showing _why_ I should be so brain dead as to try to compile lots of 
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 
default on amd64? 

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

iD8DBQFAYbP1dqzuAf6io/4RAo2kAJ0d8rjtnwEPiGMPRBxJth1rV9Ne3gCeNlck
6Zle7orzUHwy+IxNtXWSbzY=
=waSr
-----END PGP SIGNATURE-----


More information about the freebsd-amd64 mailing list