[ldns-users] undefined symbols in _ldns.so

Karel Slany karel.slany at nic.cz
Wed Jul 18 17:23:26 UTC 2012


Hello guys,

today I discovered a nasty bug in SVN code (at revision 3706) which is
prohibiting a correct import of lnds in python code.

See the error message:

>>> import ldns
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/ldns.py", line 26, in <module>
    _ldns = swig_import_helper()
  File "/usr/lib64/python2.7/site-packages/ldns.py", line 22, in
swig_import_helper
    _mod = imp.load_module('_ldns', fp, pathname, description)
ImportError: /usr/lib64/python2.7/site-packages/_ldns.so: undefined
symbol: qsort_rr_compare_nsec3

The module library _ldns.so cannot resolve symbols from libldns.

The bug was introduced in commit 3705 and the attached patch fixes it.

Cheers,
K.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ldns_missing_symbols.diff
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20120718/ed7b800a/attachment.ksh>


More information about the ldns-users mailing list