----- Original Message ----- From: "Peter C. Norton" email@example.com To: firstname.lastname@example.org Sent: Saturday, April 28, 2007 12:27 AM Subject: [Numpy-discussion] Building numpy - setting the run path
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.
On Linux I've set the LD_RUN_PATH environment variable prior to compiling my programs. It seemed to do the trick. I don't know if this works on Solaris, though. A quick Google seems to indicate that LD_RUN_PATH is a GCC thing.