← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 932259] [NEW] libpgplot-perl and pgplot5 fortran compiler mismatch?

 

Public bug reported:

Hello there,

I develop the mcstas package (http://www.mcstas.org) that on Ubuntu
systems has dependencies for pgplot5 and libpgplot-perl.

When plotting using our mcplot and mcdisplay perl scripts, the following
error occurs:

/usr/bin/perl: symbol lookup error: /usr/lib/libpgplot.so.5:  undefined
symbol: XOpenDisplay

I have found that the bug is also a problem for the Horae package, see:
http://permalink.gmane.org/gmane.science.physics.ifeffit/979

I have found two different workarounds for the problem that could give
an indication of the cause of the problem:

A) Install the pgplot5 package from http://debian-xray.iit.edu/ by following these steps:
        - Add this apt-get line to your /etc/apt/sources.list:
                deb http://debian-xray.iit.edu oneiric main contrib non-free
        - Run these commands in a terminal:
                sudo apt-get update
                sudo apt-get install -y --force-yes debian-xray-keyring
                sudo apt-get update
(The author of the 3rd party packages indicate that the problem could relate to different versions of gfortran used for the builds)

B) Rebuild the perl-pgplot package from CPAN sources: 
        - Add a few build-dependencies to your system:
                sudo apt-get install gfortran libextutils-f77-perl libx11-dev
        - Get and install perl PGPLOT from CPAN by running these commands:
                wget http://search.cpan.org/CPAN/authors/id/K/KG/KGB/PGPLOT-2.21.tar.gz
                tar xzvf PGPLOT-2.21.tar.gz
                cd PGPLOT-2.21/ && perl Makefile.PL && make && sudo make install

Other info:

lsb_release -rd output:
Description:	Ubuntu 11.10
Release:	11.10

apt-cache policy libpgplot-perl gives
libpgplot-perl:
  Installed: 1:2.21-2build1
  Candidate: 1:2.21-2build1
  Version table:
 *** 1:2.21-2build1 0
        500 http://dk.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy pgplot5 gives
pgplot5:
  Installed: 5.2.2-17build1
  Candidate: 5.2.2-17build1
  Version table:
 *** 5.2.2-17build1 0
        500 http://dk.archive.ubuntu.com/ubuntu/ oneiric/multiverse i386 Packages
        100 /var/lib/dpkg/status


Best regards,

Peter Willendrup

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libpgplot-perl 1:2.21-2build1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Tue Feb 14 19:47:47 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libpgplot-perl
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libpgplot-perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug libpgplot-perl oneiric pgplot5

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libpgplot-perl in Ubuntu.
https://bugs.launchpad.net/bugs/932259

Title:
  libpgplot-perl and pgplot5 fortran compiler mismatch?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpgplot-perl/+bug/932259/+subscriptions


Follow ups

References