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: 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: I'll look into this the beginning of next week - looks like this can be committed as-is. Previous Comments: ------------------------------------------------------------------------ [2010-08-23 16:21:05] royanee at yahoo dot com Thanks thekid. I was trying to build on 5.3.2 and none of the bugs I was able to find (#45357 and #35954) had the fix in yet, so I was happy to see that 5.3.3 was further along. Unfortunately, the "file_exists" check on the libsybct in INCDIR did not work on my installation. I only have the Open Client, so a recursive search of the installation directory only has the libsybct64.so and libsybct64.a in the LIBDIR. I updated the patch on this Bug, because I wasn't sure where else to put it. ------------------------------------------------------------------------ [2010-08-22 11:52:17] the...@php.net 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? ------------------------------------------------------------------------ [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". ------------------------------------------------------------------------ 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