Click here to get back home

Embeded Perl, Dynaloader, relocation error: undefined symbol: Perl_Tstack_sp_ptr

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Embeded Perl, Dynaloader, relocation error: undefined symbol: Perl_Tstack_sp_ptr kyle.burton@gmail.com 06-24-2005
Get Chitika Premium
Posted by kyle.burton@gmail.com on June 24, 2005, 12:35 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
fatal: relocation error: symbol dirty? April 19, 2006, 3:59 pm
"Undefined symbol" error in Perl module that loads other shared libs January 10, 2006, 10:29 pm
List::Util on AIX - ERROR: Undefined symbol: .Perl_seed January 24, 2006, 3:13 pm
Help: undefined symbol: strlcpy January 17, 2008, 9:28 am
Undefined subroutine even though it appears in symbol table? January 27, 2007, 10:58 am
why must you compile C with embeded perl the same way? April 15, 2007, 10:36 pm
Why can't JavaScript work when embeded in Perl CGI code? February 13, 2006, 9:30 pm
Fatal relocation errors November 19, 2007, 5:27 pm
Error "Undefined subroutine" & module references August 10, 2005, 9:23 am
DynaLoader March 1, 2006, 10:13 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap