in reply to Re: perl-5.10.0: Where is DynaLoader.a?
in thread perl-5.10.0: Where is DynaLoader.a?

Inaccurate statement. If you run 'perl -MExtUtils::Embed -e ldopts' nilly-willy on an arbitrary perl distribution, then yes you might find, as in you're case, that there is no DynaLoader.a mentioned.That does not mean that is the case for all dists.

[ @ ~]$ perl -v This is perl, v5.8.8 built for i386-linux-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. [@localhost ~]$ perl -MExtUtils::Embed -e ldopts -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE - +L/usr/local/lib /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Dyn +aLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/C +ORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc [@localhost ~]$

Replies are listed 'Best First'.
Re^3: perl-5.10.0: Where is DynaLoader.a?
by shmem (Chancellor) on Jul 25, 2008 at 13:07 UTC

    Well then:

    qwurx [shmem] ~ > perl5.10.0 -MExtUtils::Embed -e ldopts -Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.10.0/i386-linux-thread-multi/ +CORE -L/usr/local/lib -L/usr/local/lib/perl5/5.10.0/i386-linux-thre +ad-multi/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread + -lc

    Use these for perl 5.10. boot_DynaLoader is in libperl.so.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      You're right, I should have just payed attention to what my perl dist was returning from 'perl -MExtUtils::Embed -e ldopts'. My mistake was that I assumed DynaLoader.a was something that would be present in all perl versions, as I had seen in the past, and since I wasn't seeing it in this case, I thought that I wasn't giving the right input to the 'Configure' script when building the dist from source.
      I was further confused by something said in the Configure script:
      A number of extensions are supplied with $package. You may choose to compile these extensions for dynamic loading (the default), compile them into the $package executable (static loading), or not include them at all. Answer "none" to include no extensions. Note that DynaLoader is always built and need not be mentioned here.

      I incorrectly, but understandably interpreted this as meaning that I'd see DynaLoader.a or .so appear in the end distribution (as had happened in the past), not that it had actually been merged with libperl.so.
      @ native]$ strings /usr/lib/perl5-my/5.10.0/i686-linux/CORE/libperl.s +o |grep boot_DynaLoader boot_DynaLoader
      You've put me on the right path, thanks shmem.
Re^3: perl-5.10.0: Where is DynaLoader.a?
by Anonymous Monk on Jul 25, 2008 at 12:42 UTC
    We're talking about perl-5.10, and if you read the links, you'll know DynaLoader.a moved.