[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast

Jeff Quast added the comment:

John, What do you think of the patches attached to 
http://bugs.python.org/issue20664 ?

crle is not needed at all because the default library path is
a constant on Solaris

I don't believe this to be true, source? crle is absolutely needed to add 
additional library lookup paths on Solaris, did this recently change?

crle is most certainly especially in regards to zones: a zone is unable to 
modify any of the system library paths, it wouldn't be able to install any new 
libraries in those given paths (/usr/lib and /lib are often shared read-only by 
the global zone), and crle must be used to add a library path to a writable 
mountpoint, such as /usr/local/lib, and often /opt and other various deviations 
must occur to accommodate gnu tools, etc.

--
nosy: +jquast

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23287
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast

Jeff Quast added the comment:

I looked over the focus on default path, thank you for clarifying!

Sadly, I can't help you move either of these patches forward, best wishes!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23287
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-25 Thread Jeff Quast

Changes by Jeff Quast cont...@jeffquast.com:


Added file: http://bugs.python.org/file35363/opensolaris-ctypes-python-3.x.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20664
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-25 Thread Jeff Quast

Jeff Quast added the comment:

Submitting fix to fallback to alternate '/usr/bin/dump' path, confirmed using 
SmartOS.

As for the issues writing to /lib and /usr/lib from a zone, and the request for 
An environment variable .. to override this functionality. I have to 
disagree: crle(1) already provides facilities to add additional paths.

For example, to add `/usr/local/lib' to your dynamic library path, You would 
simply run, `crle -l /usr/local/lib -u'.

I don't *that* belongs in python.

--
keywords: +patch
nosy: +jquast
Added file: http://bugs.python.org/file35362/opensolaris-ctypes-python-2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20664
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com