You're viewing a comment by Peteris Krumins and its responses.
You're viewing a comment by Peteris Krumins and its responses.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)
If you are interested in advertising on catonmat.net, contact me.
Free tools for coding on Vietstarsoft.com.
Programming homework help.


Abottleinfrontofme Frontallobotomy, Thanks for all the comments first of all!
Here are my suggestions:
It may be pretty tricky to set it up. First make sure you have compiled adns C library [1] (compiled as adns.so or adns.a) in your system library path (or local library path, exported via LD_LIBRARY_PATH).
Next, get the adns Python library wrapper around adns C library at [2] and build it via command [3].
Next, you can install the library wrapper via [4] and then finally try to run 'import adns'.
Another way is to do it all under virtualenv [5]. This way library installations won't pollute the system.
[1] http://www.chiark.greenend.org.uk/~ian/adns/
[2] http://code.google.com/p/adns-python/downloads/list
[3] python setup.py build
[4] python setup.py install
[5] http://pypi.python.org/pypi/virtualenv
Comment Responses
I try to use adns module and install according to the instruction
but while I try “import adns” from the python then error occurs as
import adns
Traceback (most recent call last):
ImportError: libadns.so.1: cannot open shared object file: No such
file or directory
Please help me on this
Reply To This Comment