library search path when compiling python
pruebauno at latinmail.com
Wed Jul 8 15:23:57 CEST 2009
On Jul 7, 4:06 pm, Christian Heimes <li... at cheimes.de> wrote:
> nn wrote:
> > I am trying to compile python with ssl support but the libraries are
> > not in /usr/lib but in /opt/freeware/lib. How do I add that folder to
> > the default library search path?
> > It looks like configure --libdir=DIR might do the job but I don't want
> > to replace the default lib search path, just add an additional folder
> > to it.
> You didn't mention your OS. On Linux you can set the environment
> variable LD_RUN_PATH prior to compiling Python. The env var sets the
> rpath for the linker. See man ld(1) for details.
Sorry I didn't realize that was OS specific. I am on AIX 5.3.
More information about the Python-list