[freetds] /usr/include/freetds/ and DBD-Sybase problem

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Fri May 28 04:49:46 EDT 2004


> > 
> > Here's the situation:
> > 
> > I've installed Dag's latest freetds rpms (freetds-0.62.3-1.1.el3.rpm
> > and freetds-devel-0.62.3-1.1.el3.rpm, dated 2004 May 17) on Red Hat 
> > Enterprise Linux 3 with no problems, works as expected, etc.
> > 
> > I then proceeded to build the latest DBD-Sybase 1.02, which failed 
> > messily with missing include problems (here's a short excerpt):
> > 
> > In file included from Sybase.xs:14:
> > Sybase.h:16:22: ctpublic.h: No such file or directory
> > In file included from Sybase.h:46,
> >                   from Sybase.xs:14:
> > dbdimp.h:23: syntax error before "CS_SMALLINT"
> > dbdimp.h:23: warning: no semicolon at end of struct or union
> > dbdimp.h:24: warning: data definition has no type or storage class
> > 
> > I found that the problem is that the freetds-devel header files are
> > installed to /usr/include/freetds/ instead of just /usr/include/
> 
> <sigh>
> 
> Why can't RH leave things as they are?
> 

Good question. We provide a .spec file with include files in
/usr/include...

> BTW - where are the libraries located? Are they still in /usr/lib?
> 

Yes, still in /usr/lib

freddy77



More information about the FreeTDS mailing list