ID:               35959
 User updated by:  svaris at netti dot fi
 Reported By:      svaris at netti dot fi
-Status:           Feedback
+Status:           Open
 Bug Type:         Solid related
 Operating System: Debian Sarge
 PHP Version:      4.4.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2006-01-10 11:20:37] [EMAIL PROTECTED]

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 10:50:50] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35959&edit=1

Reply via email to