Hi Karl,
I just came across your post and am having the same issue (Ubuntu 8.04
Server). I managed to build the latest versions of unixODBC and
FreeTDS and install them to /usr/local/lib. When I run python and try
to import pyodbc I get the following error:
administrator@maverick:~/pyodbc-2.1.4$ python -c "import pyodbc"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libodbc.so.1: cannot open shared object file: No such
file or directory
administrator@maverick:~/pyodbc-2.1.4$
So obviously pyodbc cannot find the libs I just built - but I cannot
figure out how to specify their location when building pyodbc. Did you
have this issue? Any help is welcome!
Thanks,
Mark
On Feb 25, 5:19 pm, kgingeri <
kging...@gmail.com> wrote:
> Ok, I figured this out myself...
>
> I had to un-install all pre-installed odbc stuff - unixODBC (possibly
> iODBC as well, except it didn't seem to actually uninstall completely)
> andFreeTDS.
>
> I then got source and did configure/make/make installs of unixODBC
> first, thenFreeTDS.
> This order is important so that the ./configure command can find all
> the right stuff.
> An important note is the params for theFreeTDS./configure command.