Hi all,<br><br>I&#39;m running into a small problem while trying to import Sybase module in python.&nbsp; I&#39;ve downloaded and installed FreeTDS v0.64 and python-sybase v0.38 on my Ubuntu.&nbsp;&nbsp;I followed other posts and did the following:
<br><br><span style="font-weight: bold;">=&gt; FreeTDS:</span><br> # ./configure --disable-odbc --disable-libiconv<br>--enable-sybase-compat --prefix=/usr/local/freetds<br>&nbsp;&nbsp;&nbsp;&nbsp;# make; make install; make clean<br><br><span style="font-weight: bold;">
=&gt; Sybase python module</span><br>&nbsp;&nbsp;&nbsp;&nbsp;# export SYBASE=/usr/local/freetds<br>&nbsp;&nbsp;&nbsp;&nbsp;# python setup.py build_ext -D HAVE_FREETDS<br><br>However, when I try to import the Sybase module in Python v2.5.1, I&#39;m getting the following error:
<br><br>Traceback (most recent call last):<br>&nbsp;&nbsp;File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>&nbsp;&nbsp;File &quot;/usr/lib/python2.5/site-packages/Sybase.py&quot;, line 10, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp;from sybasect import *<br>ImportError: 
libct.so.4: cannot open shared object file: No such file or directory<br><br>I have also added &quot;include /usr/local/freetds/lib&quot; to &quot;/etc/ld.so.conf&quot; and running &quot;ldconfig&quot; AND <br>LD_LIBRARY_PATH=/usr/local/lib python -ic &quot;import Sybase&quot; but still no luck.&nbsp; 
<br><br>Can anyone help me out?&nbsp; Am I missing something?&nbsp; I see that the file libct.so.4 is under /usr/local/freetds/lib directory but I don&#39;t know how to make python realize it&#39;s there.&nbsp; I think it&#39;s a library linking issue.
<br><br>Any help will be much appreciated!!! Thanks everyone.<br>