SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
remove any third-party perl packages you have built/installed with 14.1 (beside what you can already find between the stock slackware packages) and rebuild them all with perl-5.22: perl-5.18 and perl 5.22 are not binary compatible.
I removed all of those packages, including the multilib set (when I broke the system)
since there was one multilib package listed, then reinstalled perl-5.22.2, but still pod2html shows seg fault.
I don't have any third-party packages with [Pp]erl in the name.
I have a lot of packages that don't have any mention to Perl, from Alienbob, SBo, Slacky, Apache OpenOffice.
Do you think it is necessary remove all packages?
pod2html is a Perl script: it shouldn't segfault when you run it, even if non-binary-compatible Perl modules are in your PERL5LIB (you'll usually get a stack trace from AutoLoader when it attempts to load them in that case). What does "file /usr/bin/pod2html" give you?
Code:
/usr/bin/pod2html: Perl script, ASCII text executable
I recompiled and reinstalled all SBo packages too, reboot, but didn't work.
CTM, "file" shows that it is a script, and perl itself is working.
But the segfault remains. All others pod2* are working, I can run all with --help without problem.
Code:
# pod2html
Falha de segmentação
root@claudio-pcbash~# which pod2html
/usr/bin/pod2html
root@claudio-pcbash~# file /usr/bin/pod2
pod2html pod2man pod2texi pod2text pod2usage
root@claudio-pcbash~# file /usr/bin/pod2html
/usr/bin/pod2html: a /usr/bin/perl script, ASCII text executable
root@claudio-pcbash~# perl --version
This is perl 5, version 22, subversion 2 (v5.22.2) built for x86_64-linux-thread-multi
Copyright 1987-2015, 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 kit.
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 Page.
There are more third-party packages, I will download or rebuild new versions to 14.2 and see what happens.
So far just wireshark didn't compile.
I was trying to run it to see some network suspicious activity.
yes, pod2html is an ascii file, but in the end it uses a perl module
Code:
use Pod::Html;
this, in turn, uses other perl modules: from /usr/share/perl5/Pod/Html.pm
Code:
use Carp;
use Config;
use Cwd;
use File::Basename;
use File::Spec;
use File::Spec::Unix;
use Getopt::Long;
use Pod::Simple::Search;
if Paulo2 has, for example, installed/updated some of them via CPAN when he was using a previous version of the perl interpreter there's no assurance that there are not binary leftovers from previous versions of perl...
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Original Poster
Rep:
This problem seems difficult to find, I don't remember if I installed something of perl.
I installed Slackware 14.1 (this one that I upgraded to 14.2) just a few months after release,
so this installation has two years and a few months.
I solved wireshark problem by building it in another partition with Slackware -current (that I keep
to see how -current works), and wireshark is working without problems now.
Thanks ponce and CTM for help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.