# Wrong ELF Class: ELFCLASS32 (Ubuntu 14.04 64-bit)

**URL:** <https://www.ruby-forum.com/t/wrong-elf-class-elfclass32-ubuntu-14-04-64-bit/242501>\
**Category:** GNU Radio\
**Created:** [June 28, 2015, 6:44pm UTC](https://www.ruby-forum.com/t/wrong-elf-class-elfclass32-ubuntu-14-04-64-bit/242501 "2015-06-28T18:44:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [June 28, 2015, 6:44pm UTC](https://www.ruby-forum.com/t/wrong-elf-class-elfclass32-ubuntu-14-04-64-bit/242501/1 "2015-06-28T18:44:28Z")

</div>

Hello,

I am having trouble installing GNURadio on Ubuntu 14.04, 64-bit edition.  
I have used the information from the gnuradio install wiki to install  
using apt-get:

sudo apt-get -y install git-core cmake g++ python-dev swig   
pkg-config libfftw3-dev libboost1.55-all-dev libcppunit-dev  
libgsl0-dev   
libusb-dev libsdl1.2-dev python-wxgtk2.8 python-numpy   
python-cheetah python-lxml doxygen libxi-dev python-sip   
libqt4-opengl-dev libqwt-dev libfontconfig1-dev libxrender-dev   
python-sip python-sip-dev

When running the gnuradio-companion app I get the standard error telling  
me Could not load GNURadio, Check LD\_LIBRARY\_PATH and PYTHONPATH  
When I echo $LD\_LIBRARY\_PATH, I get /usr/local/lib  
When I echo $PYTHONPATH, I get /usr/local/lib/python2.7/dist-packages

When I run python from the command line and run from gnuradio import gr  
I get the error:  
ImportError:  
/usr/local/lib/python2.7/dist-packages/gnuradio/gr/\_gnuradio\_core\_runtime.so:  
wrong ELF class: ELFCLASS32.

I think this is a 32/64-bit issue but I am not sure how to resolve it.  
When I build my own library and do import howto from python, everything  
seems to work fine.

Any help would be appreciated!  
-Ben
