Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

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

Hi,

I'm having trouble with getting FreeTDS to work via PHP.
I've already tried to find answers from the mailing list archive with no
luck.

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.

Instructions in www.php.net seem to be obsolete since current version does
not create "freetds" folder anywhere (--with-mssql=/usr/local/freetds)

If I configure PHP with an option
--with-mssql=/usr/local
I get the error mentioned in subject line.

When configured as
--with-mssql=shared
or
--with-mssql=shared,/usr
result no errors, but no support for MSSQL either

What is the current correct method of getting MSSQL support for PHP via
FreeTDS libraries?

Note! ./tsql command works from command line correctly

Thank you,
Petri





Archive powered by MHonArc 2.6.24.

Top of Page