Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: How to obtain perl5/auto/IO/IO.so with global symbols?

by beech (Parson)
on Feb 23, 2018 at 22:46 UTC ( [id://1209874] : note . print w/replies, xml ) Need Help??


in reply to Re^2: How to obtain perl5/auto/IO/IO.so with global symbols?
in thread How to obtain perl5/auto/IO/IO.so with global symbols?

Hi,

So perl-5.16.3 RPM has stripped the symbols from IO.so ...

What happens if you build your own IO.so? Does it have symbols then?

See http://search.cpan.org/~toddr/IO-1.36_01/ or https://perl5.git.perl.org/perl.git/tree/HEAD:/dist/IO

cpanm --look TODDR/IO-1.36_01.tar.gz ... perl Makefile.PL make ... nm -g blib/arch/auto/IO/IO.so

Replies are listed 'Best First'.
Re^4: How to obtain perl5/auto/IO/IO.so with global symbols?
by ek15 (Novice) on Mar 05, 2018 at 17:26 UTC

    Hi. I built my own and it did have global symbols, but that did not fix the issue. The issue was fixed when I changed the Par packer Makefile (Makefile.packer) to no longer package libc.so.6. Many other libraries were also packed, but it seems like none of the packed libraries were used if the test system had its own version of that library. Libc.so.6 was the exception. Anyway, the issue is solved either way. Thanks for all your help.