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 Michael.Felt
Recipients David.Edelsohn, Michael.Felt, martin.panter
Date 2016-04-27.18:32:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461781937.57.0.211973619728.issue26439@psf.upfronthosting.co.za>
In-reply-to
Content
These are very different issues. However, this patch may resolve both!

ldconfig (-p if I recall) lists where (shared) libraries have been installed (imho, this is a GNU tool approach) - whereas AIX would use dump -H to find library paths embedded in a program and/or shared library.

Until this patch, to use shared libraries on AIX the members of an archive needed to be extracted from the .a archive, and for 64-bit members, a separate directory (e.g. /usr/lib64) is needed. With this patch find_library() (actually cdll.LoadLibrary() can load members from either both .so and .a libraries, as is normal for AIX.

So, in a way, this would also solve https://bugs.python.org/issue21826 as ldconfig is no longer needed (nor called) on AIX.

p.s. As it is well longer than a month - I would appreciate that someone actually look at the patch and tell me how it can be improved! :)
History
Date User Action Args
2016-04-27 18:32:17Michael.Feltsetrecipients: + Michael.Felt, martin.panter, David.Edelsohn
2016-04-27 18:32:17Michael.Feltsetmessageid: <1461781937.57.0.211973619728.issue26439@psf.upfronthosting.co.za>
2016-04-27 18:32:17Michael.Feltlinkissue26439 messages
2016-04-27 18:32:17Michael.Feltcreate