ID: 45393
User updated by: fborot at hotmail dot com
Reported By: fborot at hotmail dot com
Status: Open
Bug Type: *Compile Issues
Operating System: linux-redhat
PHP Version: 5.2.6
New Comment:
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
[root@RHEL-28 php-5.2.6]#
Previous Comments:
------------------------------------------------------------------------
[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