Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 170519

Summary: dev-perl/PGPLOT-2.19 - symbol lookup error using PGPLOT with dev-perl/PDL-2.4.2-r1
Product: Gentoo Linux Reporter: Tyler Earnest <tmearnest>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of perl -V

Description Tyler Earnest 2007-03-12 00:39:09 UTC
Creation of the pgwin object causes perl to croak with 

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/PGPLOT/PGPLOT.so: undefined symbol: pgopen_

This causes the pgplot demo within the perldl shell to fail as well.


Reproducible: Always

Steps to Reproduce:
1.perldl
2.demo pgplot

- or -

run the following

#!/usr/bin/perl
use PDL::Graphics::PGPLOT::Window;
pgwin('/xs');

Actual Results:  
demo croaks with
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/PGPLOT/PGPLOT.so: undefined symbol: pgqinf_



scripts croaks with 
perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/PGPLOT/PGPLOT.so: undefined symbol: pgopen_


Expected Results:  
the demo will throw a bunch of pretty graphs to the x server.

the script will exit silently.

relevant software versions:

dev-lang/perl-5.8.8-r2
sci-libs/pgplot-5.2.2-r2
dev-perl/PGPLOT-2.19
dev-perl/ExtUtils-F77-1.15
dev-perl/PDL-2.4.2-r1

emerge info:

Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo-r7 i686)
=================================================================
System uname: 2.6.18-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 11 Mar 2007 00:30:09 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo                  ftp://gentoo.mirrors.tds.net/gentoo                  http://mirror.mcs.anl.gov/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi bash-completion berkdb bitmap-fonts bzlib cdr cli cracklib crypt cups divx divx4linux djvu dri dvd dvdr eds emboss encode foomaticdb fortran gcj gdbm gif gimp glibc glibc-omitfp gmedia gpm gstreamer gtk gtk2 hal iconv imlib isdnlog jpeg kde libg++ libwww live mad midi mikmod mmx motif mozbranding mozdevelop mp3 mpeg ncurses nls nodrm nsplugin offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline real realmedia reflection samba scanner sdl session snmp spell spl ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb vim-with-x vorbis wmf wmp x86 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa vga via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-04-15 14:35:58 UTC
perl -V output please. I have a suspicion that i'm testing over here (because while I couldn't dup this at one point, now I can). thanks,

~mcummings
Comment 2 Tyler Earnest 2007-04-15 21:48:32 UTC
Created attachment 116342 [details]
output of perl -V
Comment 3 Tyler Earnest 2007-06-15 00:40:27 UTC
upgrade to sci-libs/pgplot-5.2.2-r2 seems to have resolved the problem