php.net |  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
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: svaris at netti dot fi
New email:
PHP Version: OS:

 

 [2006-01-10 10:50 UTC] svaris at netti dot fi
Description:
------------
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-10 11:20 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [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
   Driver.

   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] tony2001@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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC