[mcstas-users] Antwort: Re: Perl problem Ubuntu 11.10

Jean-Francois.Moulin at hzg.de Jean-Francois.Moulin at hzg.de
Mon Oct 24 13:26:19 CEST 2011


Hi Peter!

thanks for the neutrino  fast answer (which works!)

Best

Jean-Francois

-------------------------------------------------------------------------------
In reply to

>Hello Jean-Francois,

>On Oct 24, 2011, at 10:10 , <Jean-Francois.Moulin at hzg.de<
mailto:Jean-Francois.Moulin at hzg.de>> <Jean-Francois.Moulin at hzg.de<
mailto:Jean-Francois.Moulin at hzg.de>> wrote:

I just upgraded my ubuntu to 11.10 and now get the following error

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

(this of course means I cannot plot anything)

any clue?

There seems to be a problem with the perl-PGPLOT provided with the newest 
Ubuntu… Will file a bug-report with them. It turns out there is a 
work-around here:

1) Install a few packages:
apt-get install gfortran libextutils-f77-perl libx11-dev

2) Get, build and install perl-PGPLOT from CPAN:
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

Cheers,

Peter



-
Helmholtz Zentrum Geesthacht
Institut für Werkstoffforschung
Abteilung WPN, Instrument REFSANS
Lichtenbergstr. 1
85747 Garching FRM II
Tel.: +49 (0)89 289 10762
Internet: http://www.frm2.tum.de


-
Helmholtz Zentrum Geesthacht
Institut für Werkstoffforschung
Abteilung WPN, Instrument REFSANS
Lichtenbergstr. 1
85747 Garching FRM II
Tel.: +49 (0)89 289 10762
Internet: http://www.frm2.tum.de

Helmholtz-Zentrum Geesthacht 
Zentrum für Material- und Küstenforschung GmbH 
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany 

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß 
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig, Wilfried Kraus 
Amtsgericht Lübeck HRB 285 GE (Register Court) 
Internet: http://www.hzg.de  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20111024/60adccbf/attachment.html>


More information about the mcstas-users mailing list