[unixODBC-support] freetds 0.82 and unixODBC 2.2.14 on shared linux host

Nick Gorham nick at lurcher.org
Wed Apr 29 07:52:29 BST 2009


Robert Kenyon wrote:
> I am attempting to get freetds and unixodbc to play nice in a shared 
> hosting environment.  I've been through just about everything I can 
> find and it appears that everyone but me is not using a --prefix on 
> the configure command to put it in a "non-standard" directory.
>
> Based on the instructions I've found, I need to install 
> unixodbc-2.2.14 first.
>
> So, I:
>
> ./configure --prefix=$HOME/local/unixodbc --enable-gui=no
>
> This configures and then makes and installs without excitement.
>
> Then I attempt to install freetds-0.82:
>
> ./configure --prefix=$HOME/local/freetds 
> --with-unixodbc=$HOME/local/unixodbc --with-tdsver=8.0
>
> And no matter how much I try to change things up - I still get a 
> configure: error: sql.h not found.
>
> I've attempted adding /include to the --with-unixodbc clause, and 
> removing unixodbc (as some instructions omit)
>
> Is there a conflict between these versions?
>
> (The only sql.h I can find are in $HOME/local/unixodbc/include so I 
> think I'm doing the right thing)

It looks right to me, check with the freetds folk, they may know more 
about this.

-- 
Nick


More information about the unixODBC-support mailing list