[freetds] Re: PHP & FreeTDS

James K. Lowden jklowden at schemamania.org
Tue Aug 24 05:20:09 EDT 2004

On Mon, 23 Aug 2004 13:15:30 -0600, Walls Rob W Contr 75 CS/SCBS
<Rob.Walls at HILL.af.mil> wrote:
> I got the unixODBC dev rpm and used
> ./configure --with-tdsver=7.0 --with-unixodbc=/usr/lib
> (RedHat's unixODBC RPM puts .so files in /usr/lib and puts .h files in
> /usr/include)

Close, but no cigar.  :-)  Try:

./configure --with-tdsver=7.0 --with-unixodbc=/usr

You're not directing the linker to the libraries.  You're directing the
whole build to the unixODBC files, both headers and libraries.  The
configure script assumes there will be lib/ and include/ relative paths
beneath whatever you pass to --with-unixodbc.



More information about the FreeTDS mailing list