[bind10-dev] unit tests and /usr/local

Jelte Jansen jelte at isc.org
Mon Mar 22 17:53:17 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/22/2010 03:43 PM, Nathanael Hoyle wrote:
>>
>> Any ideas on how to get the unittest to not link with outside libraries?
> 
> Generally speaking, if you want dynamically linked libraries to be
> resolved in a location other than the system default, you should set and
> export LD_LIBRARY_PATH in your environment. If you want to ensure that
> regardless of what the target system has for configuration, a given
> specific library is used, you may need to consider static linking. I
> hope I'm understanding your question correctly.
> 

Indeed. I think we should force static linking for the unit tests if
possible (not sure on what to do if static linking is disabled and
library parts aren't made into static libraries); LD_LIBRARY_PATH isn't
always called that on all systems (iirc, on osx it's DYLD_LIBRARY_PATH,
for instance).

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkunro0ACgkQ4nZCKsdOncWJNwCfcpOfVrE/YWy3aUqQuIcqSMJT
I10An1fcDVht+2zdGOCWtqusmBHvY4JK
=CahJ
-----END PGP SIGNATURE-----



More information about the bind10-dev mailing list