Re: Need 64bit gcc4 PyNGL build, or some sort of hack?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 12 Apr 2007 16:38:55 -0600 (MDT)

Hi Trevor,

We have a PyNGL/PyNIO binary for an x86_64 system that was compiled
with gcc3. Do you think this might work for you? If so, you can
download it from and give it a try. Go to this
URL (I'm assuming you already have a login, otherwise you'll need to
register), and then go the "Shortcuts menu" in the middle of the page
and jump to "Latest PyNGL release". Then choose whether you want a
Numeric or numpy version, and you should see:

  PyNGL/PyNIO 1.1.0 for Linux x86_64 (64-bit)

These binaries were built with gcc3. If they don't work, let me know
and I'll help you figure out the next step.

Good luck,


On Thu, 12 Apr 2007, Trevor Law wrote:

> Hello,
> My name is Trevor Law and I have a substantial code base that I've
> developed for visualizing biological neuron data that uses PyNGL.
> Because of compatibility issues, we at my lab changed our linux
> distribution from Redhat enterprise to OpenSuse. Unfortunately,
> OpenSuse uses gcc4 and we have a 64-bit machine architecture (x86_64).
> I tried using the 32-bit gcc4 binaries as I thought x86_64 was
> backwards compatible, but the machine complains about an incorrect ELF
> class:
> featureserver:/usr/lib/python2.5/site-packages/PyNGL_numpy # python
> Python 2.5 (r25:51908, Jan 9 2007, 17:00:50)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import Ngl
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "", line 58, in <module>
> from hlu import *
> File "", line 5, in <module>
> import _hlu
> ImportError: ./ wrong ELF class: ELFCLASS32
> I do not have a ton of linux expertise, but I'm guessing that what
> needs to happen is the source code needs to be compiled for the x86_64
> architecture with gcc4 to work. If someone could give me some tips on
> how to do this, or work some other "hack" to fix things, I would
> appreciate it very much.
> Here is the output of "gcc --version":
> gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> Thank you advance for any time you could devote to my problem
> _______________________________________________
> pyngl-talk mailing list
pyngl-talk mailing list
Received on Thu Apr 12 2007 - 16:38:55 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 17 2007 - 15:42:04 MDT