problems with Charts and "Perl_sv_2iv_flags"

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi everyone,

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

/usr/bin/perl: symbol lookup error:
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/ =>  (0x0021a000) => /usr/lib/ (0x00b39000) => /usr/lib/ (0x00111000) => /usr/lib/ (0x00c6d000) => /usr/lib/ (0x0088f000) => /usr/lib/ (0x00bc0000) => /usr/lib/ (0x0021b000) => /usr/lib/ (0x00d1b000) => /lib/ (0x00f43000) => /usr/lib/ (0x00eeb000) => /lib/ (0x0098b000) => /usr/lib/ (0x00cf7000) => /usr/lib/ (0x00fc7000) => /lib/ (0x00de7000) => /lib/ (0x00b7b000)
        /lib/ (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
Solaris in the past


Re: problems with Charts and "Perl_sv_2iv_flags"

Quoted text here. Click to load it

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.


Site Timeline