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

John Beck report at bugs.python.org
Tue Jul 21 23:19:24 CEST 2015


John Beck added the comment:

First, there are two related but somewhat separate issues here.

Regarding the patches attached to http://bugs.python.org/issue20664
they seem fine.  In theory, they should not be needed, as though it
is true that dump(1) moved from /usr/ccs/bin to /usr/bin in Solaris
11, /usr/ccs/bin still exists as a sym-link to /usr/bin.  But the
patches are written in a cautious manner, so the Right Thing [tm]
should happen in all circumstances.

Regarding my assertion that 'the default library path is a constant
on Solaris: "/lib/64:/usr/lib/64" in 64-bit mode and "/lib:/usr/lib"
in 32-bit mode', I stand by that but will clarify what I meant by
"default".  What I meant was "this is what the system provides, though
users may customize as needed".

I hope that helps.  If not, I'm happy to continue the conversation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23287>
_______________________________________


More information about the Python-bugs-list mailing list