[Numpy-discussion] Building numpy - setting the run path

Peter C. Norton spacey at lenin.net
Sat Apr 28 15:27:39 EDT 2007


On Sat, Apr 28, 2007 at 04:20:30PM +0900, David Cournapeau wrote:
> Peter C. Norton wrote:
> > Building numpy for my company's solaris distribution involves requring
> > a run_path for the lapack+blas libraries we're using (libsunperf,
> > though I'm considering swapping out for gsl since we may use that).
> >
> > The situation we're in is that we need gcc to get the -R for paths
> > like /usr/local/gnu/lib /usr/local/python2.5.1/lib, etc. but the
> > default python distutils raise a not implemented exception on this.
> May I ask what the -R path option is doing ? I cannot find it in the doc 
> of my gcc (on linux), and from your email, I don't see what it is doing 
> ? Does it say where to find library when linking ? When running ? Does 
> it set the patch in the binary ?

It sets the run path, but it supercedes $LD_RUN_PATH.

-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.




More information about the NumPy-Discussion mailing list