ID: 35945 Updated by: [EMAIL PROTECTED] Reported By: dbaffaleuf at ixis-cib dot com -Status: Assigned +Status: Bogus Bug Type: Sybase-ct (ctlib) related Operating System: Linux 2.6.9-22 RedHat AMD64 PHP Version: 5CVS, 4CVS (2006-01-11) (snap) Assigned To: thekid New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Seems to be a duplicate of Bug #45357. As stated there, please have a look if http://sitten-polizei.de/php/sybase-configm4.diff helps! Previous Comments: ------------------------------------------------------------------------ [2008-07-02 10:44:20] [EMAIL PROTECTED] Assigned to maintainer. ------------------------------------------------------------------------ [2007-07-17 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-07-09 13:50:05] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Provide your patch as unified diff and in correct order, the one here is reversed..and use the provided latest snapshot for it. ------------------------------------------------------------------------ [2007-04-25 23:09:46] sabapamu at mizuho-sc dot com I experienced the same problem with PHP 5.2.1 on Intel x86_64 using Sybase Open Client 15.0 64bit libraries. Fix quoted by shawnf worked for me. ------------------------------------------------------------------------ [2006-02-04 16:59:25] shawnf at fletcher dot org dot za here is a patch for php-5.1 it makes the module use the 64bit libraries and most importantly adds CFLAGS="${CFLAGS} -g -DSYB_LP64" -----------------cut here------------------------ *** ext/sybase_ct/config.m4 2006-02-04 16:41:12.000000000 +0100 --- ext/sybase_ct/config.m4.old 2005-05-30 00:16:44.000000000 +0100 *************** *** 29,59 **** else AC_MSG_ERROR([ctpublic.h missing!]) fi - - CFLAGS="${CFLAGS} -g -DSYB_LP64" - PHP_ADD_LIBPATH($SYBASE_CT_LIBDIR, SYBASE_CT_SHARED_LIBADD) if test -f $SYBASE_CT_INCDIR/tds.h; then PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD) ! SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lct64" else ! PHP_ADD_LIBRARY(cs64,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(ct64,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(comn64,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(intl64,, SYBASE_CT_SHARED_LIBADD) ! SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lcs64 -lct64 -lcomn64 -lintl64" ! PHP_CHECK_LIBRARY(tcl64, netg_errstr, [ ! PHP_ADD_LIBRARY(tcl64,,SYBASE_CT_SHARED_LIBADD) ],[ ! PHP_ADD_LIBRARY(sybtcl64,,SYBASE_CT_SHARED_LIBADD) ],[ $SYBASE_CT_LIBS ]) ! PHP_CHECK_LIBRARY(insck64, insck__getVdate, [PHP_ADD_LIBRARY(insck64,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR]) ! PHP_CHECK_LIBRARY(insck64, bsd_tcp, [PHP_ADD_LIBRARY(insck64,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR]) fi fi --- 29,56 ---- else AC_MSG_ERROR([ctpublic.h missing!]) fi PHP_ADD_LIBPATH($SYBASE_CT_LIBDIR, SYBASE_CT_SHARED_LIBADD) if test -f $SYBASE_CT_INCDIR/tds.h; then PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD) ! SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lct" else ! PHP_ADD_LIBRARY(cs,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(comn,, SYBASE_CT_SHARED_LIBADD) ! PHP_ADD_LIBRARY(intl,, SYBASE_CT_SHARED_LIBADD) ! SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lcs -lct -lcomn -lintl" ! PHP_CHECK_LIBRARY(tcl, netg_errstr, [ ! PHP_ADD_LIBRARY(tcl,,SYBASE_CT_SHARED_LIBADD) ],[ ! PHP_ADD_LIBRARY(sybtcl,,SYBASE_CT_SHARED_LIBADD) ],[ $SYBASE_CT_LIBS ]) ! PHP_CHECK_LIBRARY(insck, insck__getVdate, [PHP_ADD_LIBRARY(insck,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR]) ! PHP_CHECK_LIBRARY(insck, bsd_tcp, [PHP_ADD_LIBRARY(insck,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR]) fi fi ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35945 -- Edit this bug report at http://bugs.php.net/?id=35945&edit=1