[belenix-discuss] Getting numpy to work on openindiana

24 views
Skip to first unread message

kunal ghosh

unread,
Jan 25, 2011, 2:20:26 AM1/25/11
to belenix...@opensolaris.org
Hi all,
For my project work i needed numpy and python.
But the stock python (2.6.4) that comes with openindiana seemed to have some problems.
Numpy would build and install successfully but
importing numpy from python would throw the following ImportError
ImportError: ld.so.1: isapython2.6: fatal: relocation error: file /usr/lib/python2.6/site-packages/numpy/core/multiarray.so: symbol isfinite: referenced symbol not found

So i went ahead and downloaded the stock python2.7.1
and ./configure && make && make install ed
it. Numpy followed next.

Note : All this uses the gcc et-al packaged built by Moinak that i got from
http://www.belenix.org/binfiles/toolchain.tar.bz2


Not very surprisingly , everything worked ;)
Now i have python 2.7.1 and numpy built and installed successfully.

@moinak @sriram do i need to set any configure options in python & numpy before
building rpms out of them ?

--
regards
-------
Kunal Ghosh
Dept of Computer Sc. & Engineering.
Sir MVIT
Bangalore,India

permalink: member.acm.org/~kunal.t2

Reply all
Reply to author
Forward
0 new messages