[SciPy-user] building numpy/scipy on Solaris

David M. Cooke cookedm@physics.mcmaster...
Mon Mar 26 08:33:57 CDT 2007


On Mar 26, 2007, at 09:27 , raphael langella wrote:
> ---- Messages d´origine ----
> De: raphael langella <raphael.langella@steria.com>
> Date: jeudi, mars 22, 2007 10:39 am
> Objet: Re: [SciPy-user] building numpy/scipy on Solaris
>
>> ---- Messages d´origine ----
>> De: "David M. Cooke" <cookedm@physics.mcmaster.ca>
>> Date: jeudi, mars 22, 2007 9:41 am
>> Objet: Re: [SciPy-user] building numpy/scipy on Solaris
>>
>>> Ahh, just realized. We can do this completely with the C
>> compiler; the
>>> -xlic_lib=sunperf -xarch=v9b is only being used for Fortran. Try
>>>
>>> CFLAGS='-xlic_lib=sunperf -xarch=v9b' CPPFLAGS='-
>>> DNO_APPEND_FORTRAN' python setup.py install
>>>
>>> Since sunperf has C bindings, we don't need the Fortran compiler
>> at
>>> allfor Numpy (and I don't think it was being used in the first
>> place).
>
>> well, options for C don't have the same syntax as Fortran, so I used
>> '-mcpu=v9 -lsunperf' and got :
>>
>> ImportError: ld.so.1: python: fatal: relocation error: file
>> /Produits/sun/forte/7/SUNWspro/lib/libsunperf.so.4: symbol  
>> __f95_sign:
>> referenced symbol not found
>
> Well, any idea about this error? It would be neat to be able to build
> numpy with libsunperf.

Looks like you may have to link with the Fortran compiler, or link  
with the appropriate Fortran support libraries. You could try setting  
the LD environment variable to your Fortran compiler, and building  
again.

-- 
|>|\/|<
/------------------------------------------------------------------\
|David M. Cooke              http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@physics.mcmaster.ca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20070326/6c901d03/attachment.bin 


More information about the SciPy-user mailing list