ID: 45393 Updated by: [EMAIL PROTECTED] Reported By: fborot at hotmail dot com -Status: Open +Status: Assigned Bug Type: Sybase-ct (ctlib) related Operating System: linux-redhat PHP Version: 5.2.6 -Assigned To: +Assigned To: thekid New Comment:
Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [2008-08-01 19:16:50] pioklo at serveradmin dot pl The reason is that with OpenClient15 the library "libintl" is renamed in "libsybintl" Try this patch --- php-5.2.6/ext/sybase_ct/config.m4 2007-07-03 19:25:35.000000000 +0200 +++ php-5.2.6/ext/sybase_ct/config.m4.diff 2008-08-01 20:40:36.000000000 +0200 @@ -40,7 +40,7 @@ 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" + SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lsybcs -lsybct -lsybcomn -lsybintl" PHP_CHECK_LIBRARY(tcl, netg_errstr, [ PHP_ADD_LIBRARY(tcl,,SYBASE_CT_SHARED_LIBADD) ------------------------------------------------------------------------ [2008-06-30 18:13:47] fborot at hotmail dot com Now I used --with-sybase-ct=/opt/sybase-11.9.2/OCS-15_0 as suggested online since sybase changed the location of the include folder and now it goes a little furhter but the new error is: Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcrypt -lsybtcl -lintl -lcomn -lct -lcs -lcrypt -lrt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cgi/php-cgi /usr/bin/ld: cannot find -lintl collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 [EMAIL PROTECTED] php-5.2.6]# ------------------------------------------------------------------------ [2008-06-30 17:46:43] fborot at hotmail dot com Description: ------------ Hello When running "make" after a successful "configure --with-sybase-c=path/to/sybase/" the compile process stops and yileds several errors, starting with: /bin/sh /usr/local/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sybase/ -I/usr/local/php-5.2.6/ext/sybase/ -DPHP_ATOM_INC -I/usr/local/php-5.2.6/include -I/usr/local/php-5.2.6/main -I/usr/local/php-5.2.6 -I/usr/include/libxml2 -I/usr/local/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/sybase/include -I/usr/local/php-5.2.6/TSRM -I/usr/local/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c -o ext/sybase/php_sybase_db.lo /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:39:22: error: sybfront.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:40:19: error: sybdb.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:41:22: error: syberror.h: No such file or directory it looks like sybdb.h, sybfront.h and syberror.h can no be found ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45393&edit=1