title: unable to import libxml2mod from the python script
body: <pre><code>File "/usr/local/lib/python2.5/site-packages/libxml2.py", line 1, in &lt;module&gt;
    import libxml2mod
  
      ImportError: /usr/local/lib/python2.5/site-packages/libxml2mod.so: 
      undefined symbol:xmlTextReaderSetup
  
  &gt;&gt;&gt; import libxml2mod
  &gt;&gt;&gt; import libxml2
  &gt;&gt;&gt;
  </code></pre>
  
  <p>on Python Prompt it works fine !!</p>
  
  <p>can anyone has idea why my program is not working from .py file as import is working perfect from python prompt.</p>