symbol lookup error: .../Parser.so: undefined symbol:Perl_Istack_sp_ptr

symbol lookup error: .../Parser.so: undefined symbol:Perl_Istack_sp_ptr

am 21.09.2011 12:08:05 von rpjday

i'm not sure if the beginners list is the right place for this but
i'll ask here anyway and someone can always point me elsewhere.

i have a fully-updated, 64-bit ubuntu 11.04 system, with perl
5.10.1. i'm building a sizable software project that, from the
top-level "make", downloads, patches and compiles numerous software
packages.

at one point, it tries to compile the "pacemaker" package (which is
a high-availability cluster resource manager for what that's worth).
part of the pacemaker build is to simply use "publican" to generate
the docs in various formats, but that's where this happens:

cd Pacemaker_Explained && /usr/local/bin/publican build --publish
--langs=all --formats=pdf,html,html-single,txt
perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so:
undefined symbol: Perl_Istack_sp_ptr
Makefile:617: *** [Pacemaker_Explained.txt] Error 127

obviously, publican is using perl parsing to generate the docs and i
have no idea where it's supposed to find that symbol. anyone want to
suggest how, on an ubuntu system, i can resolve that missing symbol?
thanks.

rday

--

============================================================ ============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
============================================================ ============

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: symbol lookup error: .../Parser.so: undefined symbol: Perl_Istack_sp_ptr

am 21.09.2011 12:17:22 von Francisco Rivas

--001636c92a00f3b6f304ad70e204
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I went through the same issue and what I found was just recompile the module
in your case it would be HTML::Parser, what i did is CPAN - install
HTML::Parser or use packer for it.

I hope this can help you.

2011/9/21 Robert P. J. Day

>
> i'm not sure if the beginners list is the right place for this but
> i'll ask here anyway and someone can always point me elsewhere.
>
> i have a fully-updated, 64-bit ubuntu 11.04 system, with perl
> 5.10.1. i'm building a sizable software project that, from the
> top-level "make", downloads, patches and compiles numerous software
> packages.
>
> at one point, it tries to compile the "pacemaker" package (which is
> a high-availability cluster resource manager for what that's worth).
> part of the pacemaker build is to simply use "publican" to generate
> the docs in various formats, but that's where this happens:
>
> cd Pacemaker_Explained && /usr/local/bin/publican build --publish
> --langs=all --formats=pdf,html,html-single,txt
> perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so:
> undefined symbol: Perl_Istack_sp_ptr
> Makefile:617: *** [Pacemaker_Explained.txt] Error 127
>
> obviously, publican is using perl parsing to generate the docs and i
> have no idea where it's supposed to find that symbol. anyone want to
> suggest how, on an ubuntu system, i can resolve that missing symbol?
> thanks.
>
> rday
>
> --
>
> ============================================================ ============
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ============================================================ ============
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>

--001636c92a00f3b6f304ad70e204--

Re: symbol lookup error: .../Parser.so: undefined symbol:Perl_Istack_sp_ptr

am 21.09.2011 12:26:25 von rpjday

On Wed, 21 Sep 2011, Francisco Rivas wrote:

> Hello,
>
> I went through the same issue and what I found was just recompile
> the module in your case it would be HTML::Parser, what i did is CPAN
> - install HTML::Parser or use packer for it.
>
> I hope this can help you.

ok, so just to be clear, i have the libhtml-parser-perl package
installed on this system and, sure enough, its contents include the
apparently offending files:

$ dpkg -L libhtml-parser-html
....
/usr/lib/perl5/HTML
/usr/lib/perl5/HTML/Parser.pm
....
/usr/lib/perl5/auto/HTML/Parser/Parser.so
....

what you're saying is that this package is somehow out of date and
i can get a newer and correct one from CPAN? so i should uninstall
that package, then get a correct one from CPAN? that makes me nervous
in that there's no guarantee it wouldn't break something else, but
i'll give it a shot if that's what you're suggesting.

rday

--

============================================================ ============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
============================================================ ============

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: symbol lookup error: .../Parser.so: undefined symbol:Perl_Istack_sp_ptr

am 21.09.2011 12:30:13 von rpjday

On Wed, 21 Sep 2011, Robert P. J. Day wrote:

> On Wed, 21 Sep 2011, Francisco Rivas wrote:
>
> > Hello,
> >
> > I went through the same issue and what I found was just recompile
> > the module in your case it would be HTML::Parser, what i did is CPAN
> > - install HTML::Parser or use packer for it.
> >
> > I hope this can help you.
>
> ok, so just to be clear, i have the libhtml-parser-perl package
> installed on this system and, sure enough, its contents include the
> apparently offending files:
>
> $ dpkg -L libhtml-parser-html
> ...
> /usr/lib/perl5/HTML
> /usr/lib/perl5/HTML/Parser.pm
> ...
> /usr/lib/perl5/auto/HTML/Parser/Parser.so
> ...
>
> what you're saying is that this package is somehow out of date and
> i can get a newer and correct one from CPAN? so i should uninstall
> that package, then get a correct one from CPAN? that makes me nervous
> in that there's no guarantee it wouldn't break something else, but
> i'll give it a shot if that's what you're suggesting.

a quick followup -- i checked what would happen if i first
uninstalled the libhtml-parser-perl package and a *ton* of other
packages would be removed as well, which i don't want to do.

if i install the newer version from CPAN, can i check if that
version would take precedence? would that be the correct approach
here? thanks.

rday

--

============================================================ ============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
============================================================ ============

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/