libpgplot-perl and pgplot5 fortran compiler mismatch?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpgplot-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello there,
I develop the mcstas package (http://
When plotting using our mcplot and mcdisplay perl scripts, the following error occurs:
/usr/bin/perl: symbol lookup error: /usr/lib/
I have found that the bug is also a problem for the Horae package, see:
http://
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://
- Add this apt-get line to your /etc/apt/
deb http://
- Run these commands in a terminal:
(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:
- Get and install perl PGPLOT from CPAN by running these commands:
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://
100 /var/lib/
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://
100 /var/lib/
Best regards,
Peter Willendrup
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libpgplot-perl 1:2.21-2build1
ProcVersionSign
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)
still?