[bind10-dev] Liblog Python libraries and LIBRARY_PATH_PLACEHOLDER workaround

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Tue May 29 16:56:51 UTC 2012


At Tue, 29 May 2012 15:55:08 +0200,
Tomek Mrugalski <tomasz at isc.org> wrote:

> As part of 1281 ticket, it was suggested to remove
> LIBRARY_PATH_PLACEHOLDER from src/bin/dhcp6/tests/Makefile.am. I
> followed that advice. For details, see output of:
> 
> git diff d394e64f4c44f16027b1e62b4ac34e054b49221d \
> 483921a7f9c8afd22aa8f86dcb7b19a94514fb0d \
> src/bin/dhcp6/tests/Makefile.am
> 
> Unfortunately, Python dhcp6 tests now fail on macmini with a complaint
> about not being able to load liblog.1.dylib. This affects both clang and
> gcc builds on Mac OS.
> 
> My tests are using ProcessInfo class from bind10_src module.
> 
> I lack experience with Python and library management, so I'd like to ask
> for suggestions how to best fix the problem. What's your recommendation?

It's more about handling dynamic loadable modules in MacOS X rather
than Python, but anyway, once you start using isc Python modules
you'll need the LIBRARY_PATH_PLACEHOLDER trick.  I've (re?)added it to
dhcp6/tests/Makefile.am and confirmed the tests now passed.  It should
also fix the buildbot error.

---
JINMEI, Tatuya


More information about the bind10-dev mailing list