ID:               45393
 Comment by:       hexes at mail dot ru
 Reported By:      fborot at hotmail dot com
 Status:           Analyzed
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: linux-redhat
 PHP Version:      5.2.6
 Assigned To:      thekid
 New Comment:

Will anybody patch it??? Hello!..


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

[2009-04-21 04:14:41] hexes at mail dot ru

PHP is trying to find the header files in the old directory structure?

Prior to 12.0 release, the include file could be found here: 
   /opt/sybase/include 
 From the 12.0 release on, it was moved to (following example is for 
15.0): 
   /opt/sybase/OCS-15_0/include

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

[2009-04-20 20:24:20] hexes at mail dot ru

Gentoo Linux, PHP php-5.2.8-r2, Sybase ASE 15.0

I'v got the same error!

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

[2009-02-03 15:42:18] administrateur at goldzoneweb dot info

Hi all,

I made a patch. It works with RHEL 5 U3, PHP 5.1.6 and Sybase 12.5 et
15.0.3.

--- php-5.1.6/ext/sybase_ct/config.m4   2009-02-03 12:11:44.000000000
+0100
+++ php-5.1.6/ext/sybase_ct/config.m4-ct        2009-02-03
14:04:45.000000000 +0100
@@ -35,15 +35,15 @@
     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_ADD_LIBRARY(sybcs,, SYBASE_CT_SHARED_LIBADD)
+    PHP_ADD_LIBRARY(sybct,, SYBASE_CT_SHARED_LIBADD)
+    PHP_ADD_LIBRARY(sybcomn,, SYBASE_CT_SHARED_LIBADD)
+    PHP_ADD_LIBRARY(sybintl,, SYBASE_CT_SHARED_LIBADD)

-    PHP_CHECK_LIBRARY(tcl, netg_errstr, [
-      PHP_ADD_LIBRARY(tcl,,SYBASE_CT_SHARED_LIBADD)
+    SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lsybcs -lsybct -lsybcomn
-lsybintl"
+ 
+    PHP_CHECK_LIBRARY(sybtcl, netg_errstr, [
+      PHP_ADD_LIBRARY(sybtcl,,SYBASE_CT_SHARED_LIBADD)
     ],[
       PHP_ADD_LIBRARY(sybtcl,,SYBASE_CT_SHARED_LIBADD)
     ],[

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

[2008-11-09 13:13:00] the...@php.net

Please see if http://sitten-polizei.de/php/sybase-configm4.diff works
for you.

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

[2008-10-30 10:50:35] fel...@php.net

Assigned to the maintainer.

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

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/45393

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

Reply via email to