php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30860 --with-mssql fails if FreeTDS has been compiled without static libtds.a
Submitted: 2004-11-22 13:39 UTC Modified: 2004-11-22 20:42 UTC
From: jr-phpbugs at cedric dot vabo dot cz Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.9 OS: Slackware linux
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: jr-phpbugs at cedric dot vabo dot cz
New email:
PHP Version: OS:

 

 [2004-11-22 13:39 UTC] jr-phpbugs at cedric dot vabo dot cz
Description:
------------
I think subject says it all.
If the FreeTDS (0.62.4) has been compiled as shared libraries
only (--enable-static=no), then attempt to configure PHP
4.3.9 --with-freetds says:

...
...
checking for MSSQL support with FreeTDS... yes
configure: error: Could not find /usr/local/freetds/lib/libtds.a

Haven't tested with older PHP versions.


Expected result:
----------------
if there's shared-libraries-only version of FreeTDS installed (with default installation prefix, which = /usr/local/freetds), then it should be possible to compile PHP against that FreeTDS version using 'configure --with-mssql'



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-22 20:42 UTC] fmk@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 01:01:32 2025 UTC