Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

library search path when compiling python

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


pruebauno at latinmail

Jul 7, 2009, 12:51 PM

Post #1 of 3 (214 views)
Permalink
library search path when compiling python

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.
--
http://mail.python.org/mailman/listinfo/python-list


lists at cheimes

Jul 7, 2009, 1:06 PM

Post #2 of 3 (183 views)
Permalink
Re: library search path when compiling python [In reply to]

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.

Christian
--
http://mail.python.org/mailman/listinfo/python-list


pruebauno at latinmail

Jul 8, 2009, 6:23 AM

Post #3 of 3 (168 views)
Permalink
Re: library search path when compiling python [In reply to]

On Jul 7, 4:06 pm, Christian Heimes <li...@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.
>
> Christian

Sorry I didn't realize that was OS specific. I am on AIX 5.3.
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.