This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author exarkun
Recipients exarkun, theller
Date 2008-07-16.18:31:51
SpamBayes Score 5.4709402e-05
Marked as misclassified No
Message-id <1216233113.79.0.266532127913.issue3383@psf.upfronthosting.co.za>
In-reply-to
Content
ctypes.util assumes several things of its environment which sometimes
don't hold:

  * It depends on objdump being in $PATH.  If it isn't, it will fail to
read the SONAME from a library, even if it has determined the path to it.
  * If it uses ldconfig (which, unlike objdumb, it assumes it knows the
full path to and doesn't rely on $PATH to find), it fails to interpret
the results because the regular expression it applies doesn't define any
groups.

The attached patch is what I used to work around these issues in one
particular environment.  I don't claim the fixes to be general, and the
patch includes no unit tests.
History
Date User Action Args
2008-07-16 18:31:53exarkunsetspambayes_score: 5.47094e-05 -> 5.4709402e-05
recipients: + exarkun, theller
2008-07-16 18:31:53exarkunsetspambayes_score: 5.47094e-05 -> 5.47094e-05
messageid: <1216233113.79.0.266532127913.issue3383@psf.upfronthosting.co.za>
2008-07-16 18:31:52exarkunlinkissue3383 messages
2008-07-16 18:31:51exarkuncreate