Edit report at http://bugs.php.net/bug.php?id=45357&edit=1
ID: 45357 Updated by: the...@php.net Reported by: temmel at jcvi dot org Summary: sybase-ct fails against sybase-15_0 on 64-bit centos 5 -Status: No Feedback +Status: Duplicate Type: Bug Package: Sybase-ct (ctlib) related Operating System: Centos 5 x86_64 PHP Version: 5.2.9 Assigned To: thekid Block user comment: N New Comment: This one looks like a duplicate of bug #50827 to me, which I fixed by a similar patch and committed that to SVN (trunk, 5_3, 5_2). So compiling PHP with sybase_ct w/ 64-bit libraries should work just fine by now. If not, can you provide a patch against current SVN? Previous Comments: ------------------------------------------------------------------------ [2010-08-20 22:39:20] royanee at yahoo dot com Updated the patch again after debugging an issue where the severity level was either very large number or 116. It needed the -DSYB_LP64 CFLAG and now is able to correctly parse server communications, severity levels and query results. Tested successfully on RHEL 5 x86_64, using PHP 5.3.2. ------------------------------------------------------------------------ [2010-08-20 19:57:08] royanee at yahoo dot com After these steps: cd ext/sybase_ct; patch -p2 < sybase-configm4.diff; phpize; ./configure; Output: checking for Sybase-CT support... yes, shared ./configure: line 21483: syntax error: unexpected end of file However, if I replace "else if" with "elif" and switch the test -f from "$SYBASE_CT_INCDIR/libsybct64" to "$SYBASE_CT_LIBDIR/libsybct64.so", it compile successfully. I'll try attaching my updated patch. ------------------------------------------------------------------------ [2009-05-25 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". ------------------------------------------------------------------------ [2009-05-17 20:53:24] j...@php.net How did you test? Did you regenerate configure before running it again? ------------------------------------------------------------------------ [2009-04-27 17:59:33] temmel at jcvi dot org No, the patch did not fix the problem. ------------------------------------------------------------------------ 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/bug.php?id=45357 -- Edit this bug report at http://bugs.php.net/bug.php?id=45357&edit=1