Setting runtime_library_dirs while building numpy

Albert Chin numpy-discussion at mlists.thewrittenword.com
Fri Nov 3 09:54:17 CST 2006


On Fri, Nov 03, 2006 at 05:19:09PM +0100, Karol Langner wrote:
> On Friday 03 of November 2006 16:09, Albert Chin wrote:
> > We have atlas-3.6.0 installed in a non-standard location. When
> > building the numpy-1.0 shared libraries, we'd like to encode the
> > non-standard location in the RPATH of the executable. We do this with
> > other Python modules by adding the following to setup.cfg:
> >   [build_ext]
> >   rpath=<path to library>
> >
> > But, this doesn't work for numpy-1.0. Is there another way to do this?
> 
> try something like this in your site.cfg:
> 
> [atlas]
> library_dirs = <paths to libraries>
> include_dirs = <paths to include dirs>
> atlas_libs = <names of libraries>

The library_dirs variable will simply set the path for the linker to
search for the library (i.e. -L<paths to libraries>). However, it
won't add the -Wl,-rpath,<paths to libraries> on Linux that we want
(or -R<paths to libraries> on Solaris, etc.).

-- 
albert chin (china at thewrittenword.com)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list