Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Petri Laihonen" <pietu AT weblizards.net>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Re: Directory /usr/local is not a FreeTDS installation directory -- Solution
  • Date: Tue, 7 Sep 2004 20:55:04 -0400 (EDT)

And this did the trick!

> Try --with-mssql=/usr
>

PHP configured fine, MSSQL support is there and it works perfectly via
configuration in /etc/freetds.conf.

Thank you for the advice.

Petri


> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Petri Laihonen
> Sent: September 7, 2004 8:20 PM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Re: Directory /usr/local is not a FreeTDS
> installation directory
>
>>
>> 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;
> =/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
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.752 / Virus Database: 503 - Release Date: 03/09/2004
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>





Archive powered by MHonArc 2.6.24.

Top of Page