|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35959 Cannot build with Solid 2.3
Submitted: 2006-01-10 10:50 UTC Modified: 2006-01-10 15:15 UTC
From: svaris at netti dot fi Assigned:
Status: Closed Package: Solid related
PHP Version: 4.4.1 OS: Debian Sarge
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: svaris at netti dot fi
New email:
PHP Version: OS:


 [2006-01-10 10:50 UTC] svaris at netti dot fi
Compilation fails with Solid Web Engine 2.3.

1) ./configure --with-solid=<DIR> and make
2) compilation fails with error message
ext/odbc/php_odbc.o(.text+0x244a): In function `zif_odbc_data_source':
MYDIR/php-4.4.1/ext/odbc/php_odbc.c:1212: undefined reference to `SQLDataSources'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

Tested with PHP 4.4.1, 4.3.10 and php4-STABLE-200601091335, 4.1.2 compiles fine.

Can be compiled if HAVE_SQLDATASOURCES is disabled.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-10 11:20 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-01-10 14:39 UTC] svaris at netti dot fi
It's same in 5.1:

ext/odbc/php_odbc.o(.text+0x24a4): In function `zif_odbc_data_source':
/tmp/php5/php5.1-200601101130/ext/odbc/php_odbc.c:1223: undefined reference to `SQLDataSources'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

Solid's include/cli0ext1.h has comment

/* NOTE!

   None of the following ODBC 2.0 Level 2 API functions has
   been implemented in the SOLID Server Client Library or ODBC

   The following functions, however, can be used in Windows
   environments if Microsoft ODBC DLLs are used:
        SQLDataSources  Implemented in Driver Manager
        SQLDrivers      Implemented in Driver Manager
 [2006-01-10 15:15 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 02:03:34 2021 UTC