gifeffit installation issue on ubuntu feisty fawn
Hi, I would like to use gifeffit on the beamline where I work for fast extraction of EXAFS data during scans and so on. But I have a problem even before starting to code: horae and ifeffit works well, I compiled and installed the python wrapper, but gifeffit refuse to work and I cannot import the Ifeffit module in python. The error message is: fonda@nemotele:~$ gifeffit Traceback (most recent call last): File "/usr/local/bin/gifeffit", line 2, in <module> import GIFeffit, sys File "/usr/lib/python2.5/site-packages/Ifeffit/GIFeffit.py", line 27, in <module> from Ifeffit import Ifeffit File "/usr/lib/python2.5/site-packages/Ifeffit/Ifeffit.py", line 46, in <module> import _ifeffit, types, cmd, os, sys ImportError: /usr/lib/python2.5/site-packages/Ifeffit/_ifeffit.so: undefined symbol: pgclos_ The linux distro is ubuntu feisty fawn and I got the libpgplot5 package installed... ... may anyone help me, please? Thanks, E. Fonda SAMBA beamline SOLEIL synchrotron
Hi Emiliano, gifeffit was sort of a technology demonstration that Matt whipped up back in the early days of Ifeffit development. I don't think that bit of code has been updated in the last 5 years. Is there some feature of gifeffit that you cannot live without? B On Saturday 30 June 2007, Emiliano Fonda wrote:
Hi, I would like to use gifeffit on the beamline where I work for fast extraction of EXAFS data during scans and so on. But I have a problem even before starting to code: horae and ifeffit works well, I compiled and installed the python wrapper, but gifeffit refuse to work and I cannot import the Ifeffit module in python. The error message is:
fonda@nemotele:~$ gifeffit Traceback (most recent call last): File "/usr/local/bin/gifeffit", line 2, in <module> import GIFeffit, sys File "/usr/lib/python2.5/site-packages/Ifeffit/GIFeffit.py", line 27, in <module> from Ifeffit import Ifeffit File "/usr/lib/python2.5/site-packages/Ifeffit/Ifeffit.py", line 46, in <module> import _ifeffit, types, cmd, os, sys ImportError: /usr/lib/python2.5/site-packages/Ifeffit/_ifeffit.so: undefined symbol: pgclos_
The linux distro is ubuntu feisty fawn and I got the libpgplot5 package installed... ... may anyone help me, please? Thanks, E. Fonda SAMBA beamline SOLEIL synchrotron
-- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advance Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/
Hi Emiliano, As Bruce pointed out, gifeffit is sort of old. To be honest, I thought I was the only one who used it. But it should work as a simple "enhanced command-line interface", and I'm sure it can work (it works for me on linux). I'll bet the problem you're having is with ifeffit / pgplot. You say that plain ifeffit and horae both work... I'll assume that means "including plotting", and that Python is incorrectly using the pgplot library from the debian package instead of the one built for Ifeffit with PGPLOT_Install. Here's something to try: ~> ldd /usr/local/bin/ifeffit ~> ldd /usr/lib/python2.5/site-packages/Ifeffit/_ifeffit.so Neither of these files should point to a 'libpgplot.so' If they do, I'd recommend (temporarily if necessary) removing the PGPLOT package (or at least the libpgplot.so file) and rebuilding Ifeffit and the python wrapper. Hope that helps, and let me know how it goes. Cheers, --Matt
participants (3)
-
Bruce Ravel
-
Emiliano Fonda
-
Matt Newville