Date: Wed, 16 Sep 1998 00:28:31 +0300 (EEST) From: Vladimir Kushnir <kushn@mail.kar.net> To: Mark Murray <mark@grondar.za> Cc: current@FreeBSD.ORG Subject: Re: Some more perl5 questions under elf Message-ID: <Pine.BSF.4.00.9809160011210.16607-100000@kushnir.kiev.ua> In-Reply-To: <199809150650.IAA28146@gratis.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Sep 1998, Mark Murray wrote: > Vladimir Kushnir wrote: > > There're some problems with perl5 build under -current (elf): > > i) Sorry, I don't know is this is intended, but during make > > This is intended. > > > buildworld perl5 is linked to static libperl.a. When re-built afterwards: > > -r-xr-xr-x 2 bin bin 7936 Sep 14 13:57 /usr/bin/perl > > -r-xr-xr-x 1 bin bin 449796 Sep 14 13:52 /usr/bin/perl.orig > > ii) (And more essential) Perl5 as it is doesn't want to load modules > > dynamically unless linked with -rdynamic (or at least the originally built > > during buildworld doesn't). BTW, exactly the same situation I had with elf > > X server and its modules, with development glib-1.1 and its libgmodule-1.1 > > and so on. > > I do not completely understand it, but this seems to be by design. > > M > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > I'm awfully sorry, I might very well be a silly ass as far as programming is concerned, but here's just a simple example: MD5-1.7.tar.gz made with the base perl5 (/usr/bin/perl.orig, built during buildworld) and dinamically linked with option -rdynamic (/usr/bin/perl, built right after installworld is completed). No patches, just plain "perl(.orig) Makefile.PL; make; make test". /disk2/Archive/MD5-1.7> make test PERL_DL_NONLAZY=1 /usr/bin/perl.orig -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00502/mach -I/usr/libdata/perl/5.00502 test.pl 1..14 Can't load 'blib/arch/auto/MD5/MD5.so' for module MD5: blib/arch/auto/MD5/MD5.so: Undefined symbol "perl_get_sv" at /usr/libdata/perl/5.00502/mach/DynaLoader.pm line 168. at test.pl line 12 BEGIN failed--compilation aborted at test.pl line 12. not ok 1 *** Error code 2 Stop. /disk2/Archive/MD5-1.7> make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00502/mach -I/usr/libdata/perl/5.00502 test.pl 1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9809160011210.16607-100000>