php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48739 FreeTDS compile issue fixed in previous versions is present in 5.3.0
Submitted: 2009-06-30 13:44 UTC Modified: 2009-06-30 13:51 UTC
From: gavinleefoster at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.3.0 OS: CentOS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gavinleefoster at gmail dot com
New email:
PHP Version: OS:

 

 [2009-06-30 13:44 UTC] gavinleefoster at gmail dot com
Description:
------------
This bug (http://bugs.php.net/bug.php?id=44991) seems to be still present in PHP 5.3.  The first few lines of ext/mssql/config.m4 are 

  1 dnl
  2 dnl $Id: config.m4,v 1.9.2.2.2.1.2.1 2008/10/04 12:55:21 felipe Exp $
  3 dnl
  4 
  5 PHP_ARG_WITH(mssql,for MSSQL support via FreeTDS,
  6 [  --with-mssql[=DIR]      Include MSSQL-DB support.  DIR is the FreeTDS home
  7                           directory [/usr/local/freetds]])
  8 
  9 if test "$PHP_MSSQL" != "no"; then
 10 
 11   if test "$PHP_MSSQL" = "yes"; then
 12     for i in /usr/local /usr; do
 13       if test -f $i/include/sybdb.h; then
 14         FREETDS_INSTALLATION_DIR=$i
 15         FREETDS_INCLUDE_DIR=$i/include

i.e. the patch does not seem to have been applied.

Reproduce code:
---------------
Try to compile PHP 5.3.0 with FreeTDS 0.82.

Expected result:
----------------
Compiles.

Actual result:
--------------
Compilation fails with 

configure: error: Could not find /usr/local/src/freetds/lib/libsybdb.a|so

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-30 13:51 UTC] gavinleefoster at gmail dot com
My mistake.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 23 17:00:02 2025 UTC