Bill Janssen <[EMAIL PROTECTED]> added the comment:

The question is, which linker?  I think it should be ld.so, which links "on
demand", and does pay attention to LD_LIBRARY_PATH.  I'm not sure what the
point of find_library() is, otherwise.

Bill

On Thu, May 29, 2008 at 11:24 AM, Thomas Heller <[EMAIL PROTECTED]>
wrote:

>
> Thomas Heller <[EMAIL PROTECTED]> added the comment:
>
> To be honest,  I do not understand this request and the discussion.
> ctypes.util.find_library(), as dcumented, is supposed to simulate what
> the linker does:  find the name of a shared library.  For example,
> it returns 'libc.so.6' when called as ctypes.util.find_library('c').
> AFAIK (and I don't know very much about posix shared libs or linkers)
> the linker does not pay attention to (DY)LD_LIBRARY_PATH env var.
>
> dlopen(shared-lib-name) does use this env vars, but this behaviour is
> already built into dlopen.
>
> ----------
> assignee:  -> theller
> nosy: +theller
>
> _______________________________________
> Python tracker <[EMAIL PROTECTED]>
> <http://bugs.python.org/issue2936>
> _______________________________________
>

Added file: http://bugs.python.org/file10476/unnamed

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2936>
_______________________________________
The question is, which linker?&nbsp; I think it should be ld.so, which links 
&quot;on demand&quot;, and does pay attention to LD_LIBRARY_PATH.&nbsp; I&#39;m 
not sure what the point of find_library() is, otherwise.<br><br>Bill<br><br>
<div class="gmail_quote">On Thu, May 29, 2008 at 11:24 AM, Thomas Heller &lt;<a 
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt; wrote:<br><blockquote 
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 
0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Thomas Heller &lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt; 
added the comment:<br>
<br>
To be honest, &nbsp;I do not understand this request and the discussion.<br>
ctypes.util.find_library(), as dcumented, is supposed to simulate what<br>
the linker does: &nbsp;find the name of a shared library. &nbsp;For example,<br>
it returns &#39;libc.so.6&#39; when called as 
ctypes.util.find_library(&#39;c&#39;).<br>
AFAIK (and I don&#39;t know very much about posix shared libs or linkers)<br>
the linker does not pay attention to (DY)LD_LIBRARY_PATH env var.<br>
<br>
dlopen(shared-lib-name) does use this env vars, but this behaviour is<br>
already built into dlopen.<br>
<br>
----------<br>
assignee: &nbsp;-&gt; theller<br>
nosy: +theller<br>
<br>
_______________________________________<br>
Python tracker &lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL 
PROTECTED]</a>&gt;<br>
<div class="Ih2E3d">&lt;<a href="http://bugs.python.org/issue2936"; 
target="_blank">http://bugs.python.org/issue2936</a>&gt;<br>
</div>_______________________________________<br>
</blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to