LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-17-2012, 09:57 AM   #1
rmugunthan
Member
 
Registered: Jan 2009
Location: Coimbatore, India
Distribution: rhel
Posts: 49

Rep: Reputation: 3
perl recompilation


Hi,

I got the below error messages when using the perl version 5.10

perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: undefined symbol: Perl_Tstack_sp_ptr

I googled and find the below URL, In that they mentioned it is a bug

https://bugs.archlinux.org/task/9078

Also they explained recompilation will solve the problem like that. Could someone explain how to recompile the perl packages.

Thanks,
 
Old 02-17-2012, 10:00 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 207Reputation: 207Reputation: 207
Recompiling Perl is a god-awful adventure. Good luck.

However, you might have good luck by using the Linux From Scratch documentation as a reference:

http://www.linuxfromscratch.org/lfs/...er06/perl.html
 
Old 02-17-2012, 10:16 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
The link does not suggest to compile perl but to compile perl modules to correct an incompatibility with perl version...
 
Old 02-17-2012, 10:18 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by rmugunthan View Post
Hi,

I got the below error messages when using the perl version 5.10

perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: undefined symbol: Perl_Tstack_sp_ptr

I googled and find the below URL, In that they mentioned it is a bug

https://bugs.archlinux.org/task/9078

Also they explained recompilation will solve the problem like that. Could someone explain how to recompile the perl packages.

Thanks,
Try to compile and reinstall the module with cpan
Code:
cpan
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install XML::Parser
cpan> exit
 
Old 02-17-2012, 10:31 AM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by Cedrik View Post
The link does not suggest to compile perl but to compile perl modules to correct an incompatibility with perl version...
Look again. The LFS stuff has a hack for a particular module, but that documentation does in fact build the full perl (in addition to perl modules.)

Last edited by jhwilliams; 02-17-2012 at 10:33 AM.
 
Old 02-17-2012, 11:13 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by jhwilliams View Post
Look again. The LFS stuff has a hack for a particular module, but that documentation does in fact build the full perl (in addition to perl modules.)
I was talking about the OP's link (arch discussion from 2008)...
 
  


Reply

Tags
linux, perl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Recompilation nee_rajdelhi Linux - Desktop 3 01-05-2011 07:01 AM
kernel recompilation shrishailnk Linux - General 4 04-11-2006 11:54 PM
Recompilation of the kernel s_shenbaga Linux - Newbie 2 04-14-2005 03:06 PM
Kernel Recompilation Thomas_Delrue Linux - General 1 08-30-2001 04:11 PM
recompilation cybercop12us Linux - General 1 08-22-2001 04:11 AM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration