Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- problems with Charts and "Perl_sv_2iv_flags"
March 8, 2007, 4:28 pm
rate this thread
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
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)
I am using perl 5.8.8
does anyone know how I should next go about trying to debug this? I
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"
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.
- » Feedback requested on alternate interface to Time::Period
- — Next thread in » PERL Modules Announcements