[SciPy-dev] Building on HP

Pearu Peterson pearu at cens.ioc.ee
Thu Oct 10 17:39:12 EDT 2002


On Thu, 10 Oct 2002, Travis Oliphant wrote:

> 
> I've almost got Scipy working on an HP runing HP-UX B.11.11 U 9000/785
> 
> I am having trouble linking.  On import I get errors like:
> 
> /usr/lib/dld.sl: Unresolved symbol: FTN_DTOI$ (code)  from
> /grad1/users/oliphant/lib/python2.2/site-packages/scipy/special/cephes.sl
> 
> I believe this has to do with Fortran code not being linked in correctly.
> But, I'm not sure which library, and I'm not sure how to get the setup.py
> script to link correctly against this library.
> 
> Any ideas out there to either question.  Anyone seen the same issue?

Try  

  -lU77 -lf

I picked it up from f2py2e/buildmakefile.py that used to work for a HP-UX
f77 compiler few years ago.
Also, you should check compilers manuals that usually describe which
libraries are needed and when.

HTH,
	Pearu




More information about the SciPy-Dev mailing list