Click here to get back home

problems with Charts and "Perl_sv_2iv_flags"

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    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
problems with Charts and "Perl_sv_2iv_flags" patrick.mcguireBT 03-08-2007
Posted by patrick.mcguireBT on March 8, 2007, 11:28 am
Please log in for more thread options


Hi everyone,

I am trying to use the perl Chart modules on linux. Chart::Pie, as a
first
example. One of my colleagues has installed the packages for me using
yum,
but i am having some problems at runtime.

/usr/bin/perl: symbol lookup error:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/GD/
GD.so:
undefined symbol: Perl_sv_2iv_flags

when I run ldd on that I get:

[pmcguire@balloch ~]$ ldd
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/GD/GD.so
linux-gate.so.1 => (0x0021a000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00b39000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00111000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00c6d000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0088f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00bc0000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0021b000)
libz.so.1 => /usr/lib/libz.so.1 (0x00d1b000)
libm.so.6 => /lib/libm.so.6 (0x00f43000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x00eeb000)
libc.so.6 => /lib/libc.so.6 (0x0098b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00cf7000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00fc7000)
libdl.so.2 => /lib/libdl.so.2 (0x00de7000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00b7b000)
/lib/ld-linux.so.2 (0x0036a000)

I am using perl 5.8.8

does anyone know how I should next go about trying to debug this? I
write a
lot of perl but rarely use CPAN modules, and have only installed them
on
Solaris in the past

thanks
patrick


Posted by Sisyphus on March 10, 2007, 4:15 am
Please log in for more thread options



> Hi everyone,
>
> I am trying to use the perl Chart modules on linux. Chart::Pie, as a
> first
> example. One of my colleagues has installed the packages for me using
> yum,
> but i am having some problems at runtime.
>

I found Chart-2.4.1 (which is only a little over a year old and therefore,
quite possibly, being actively maintained) on CPAN.

No problems with it at all - at least in so far as building and the test
suite are concerned. I note that it contains a Chart::Pie module.

I also found a separate distribution of Chart-Pie-0.90 that dates back to
last century, and is quite probably not being actively maintained. There are
problems with it - I get a fatal error relating to the object method "gif"
when running 'make test' (or more accurately, in my case, 'dmake test').

Which Chart::Pie module are you trying to use ? ... the one that ships with
the Chart module, or the antiquated one that ships as a separate distro ?

Which version of GD are you running ? I have 2.32.

Cheers,
Rob


Similar ThreadsPosted
Problems using GD.pm January 8, 2005, 8:05 pm
Problems when using Net::MSN 1.022 May 4, 2005, 1:20 pm
LWP problems July 11, 2005, 3:50 pm
PPM Problems on Win.XP November 5, 2007, 4:26 pm
LWP Problems (Authentication?) September 5, 2004, 7:12 am
Net::FTP mdtm problems December 14, 2004, 11:00 pm
Problems with Parse::Lex May 5, 2005, 8:22 pm
DBI_DB2 problems June 2, 2006, 5:24 pm
CGI.pm: encoding problems June 9, 2006, 10:53 am
Test::Pod problems March 3, 2007, 1:04 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap