[freetds] Re: Directory /usr/local is not a FreeTDS installation directory

Petri Laihonen pietu at weblizards.net
Tue Sep 7 20:20:08 EDT 2004


>
> On Sep 8, 2004, at 1:42, Petri Laihonen wrote:
>
>> FreeTDS was installed from RPMS
>> (freetds-0.62.1-1 and freetds-devel-0.62.1-1)
>> My PHP version is 4.3.8, which I'm trying to compile MSSQL support
>> into.
>> If I configure PHP with an option
>> --with-mssql=/usr/local
>> I get the error mentioned in subject line.
>
> Do a
>
> rpm -ql freetds freetds-devel
>
> to see where the freetds files ended up on your system.
>
> FreeTDS's default these days is a prefix of /usr/local, but whoever
> made those rpms could have changed it.
>

I downloaded the RPM's from freetds.org d/l page.

$ "rpm -ql freetds freetds-devel" Result listed at the end.

I already tried with;
--with-mssql=/etc
--with-mssql=/usr/bin
--with-mssql=/usr/lib
--with-mssql=/usr/include
And no luck....

Which one of these files and their location would PHP configuration
process recognize? Any other alternatives?

Petri

/etc/freetds.conf
/etc/locales.conf
/etc/pool.conf
/usr/bin/freebcp
/usr/bin/tdspool
/usr/bin/tsql
/usr/lib/libct.so
/usr/lib/libct.so.2
/usr/lib/libct.so.2.0.0
/usr/lib/libsybdb.so
/usr/lib/libsybdb.so.4
/usr/lib/libsybdb.so.4.0.0
/usr/lib/libtds.so
/usr/lib/libtds.so.3
/usr/lib/libtds.so.3.0.0
/usr/lib/libtdssrv.so
/usr/lib/libtdssrv.so.1
/usr/lib/libtdssrv.so.1.0.0
/usr/share/doc/freetds-0.62.1
/usr/share/doc/freetds-0.62.1/AUTHORS
/usr/share/doc/freetds-0.62.1/BUGS
/usr/share/doc/freetds-0.62.1/COPYING
/usr/share/doc/freetds-0.62.1/ChangeLog
/usr/share/doc/freetds-0.62.1/INSTALL
/usr/share/doc/freetds-0.62.1/NEWS
/usr/share/doc/freetds-0.62.1/README
/usr/share/doc/freetds-0.62.1/TODO
/usr/share/man/man1/freebcp.1.gz
/usr/share/man/man1/tsql.1.gz
/usr/include/bkpublic.h
/usr/include/cspublic.h
/usr/include/cstypes.h
/usr/include/ctpublic.h
/usr/include/dblib.h
/usr/include/sqldb.h
/usr/include/sqlfront.h
/usr/include/sybdb.h
/usr/include/syberror.h
/usr/include/sybfront.h
/usr/include/tds.h
/usr/include/tds_sysdep_public.h
/usr/include/tdsconvert.h
/usr/include/tdssrv.h
/usr/include/tdsver.h
/usr/lib/libct.a
/usr/lib/libct.la
/usr/lib/libsybdb.a
/usr/lib/libsybdb.la
/usr/lib/libtds.a
/usr/lib/libtds.la
/usr/lib/libtdsodbc.a
/usr/lib/libtdsodbc.la
/usr/lib/libtdssrv.a
/usr/lib/libtdssrv.la





More information about the FreeTDS mailing list