Re: how to build with --enable-shared so that binary knows where libraries are.

2010-03-31 Thread d d
d d gmail.com> writes: > I found this: > http://koansys.com/tech/building-python-with-enable-shared-in-non-standard-location > It recommends LDFLAGS="-rpath ", and mentions that you > get a "compiler cannot create executables" error unless you first > create the empty directory. But I get that e

how to build with --enable-shared so that binary knows where libraries are.

2010-03-31 Thread d d
The following is on Linux. I'd like to build python with ./configure --enable-shared. And install in a non-standard place (an nfs-mounted directory). However, the binary is then not usable, since it can't find the library. I can fix this by defining LD_LIBRARY_PATH, but I don't want to do that.