Bug #8947 Updated: php don't compile using --with-sybase and FreeTDS (php 4.0.0 does)
| From: | lobbin@php.net | Date: | Thu, 13 Dec 2001 21:52:36 +0000 |
| Subject: | Bug #8947 Updated: php don't compile using --with-sybase and FreeTDS (php 4.0.0 does) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73624@lists.php.net to get a copy of this message | ||
ID: 8947
Updated by: lobbin
Reported By: apina@infolink.com.br
Old Status: Open
Status: Closed
Bug Type: Sybase-ct (ctlib) related
Operating System: Slackware 7.0 Kernel 2.2.16
PHP Version: 4.0.4pl1
New Comment:
Works for me with FreeTDS 0.52 and PHP 4.1.0
Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-01-26 20:42:01] apina@infolink.com.br
Using FreeTDS 0.50 and php4.0.4pl1 with /configure --with-config-file-path=/bin/lsd --disable-debug
--enable-safe-mode --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect
--with-mysql=/usr/local/mysql --enable-memory-limit --with-sybase=/usr/local/freetds
--enable-inline-optimization --with-ftp results in:
make[1]: Entering directory `/root/pacotes/php-4.0.4pl1'
/bin/sh /root/pacotes/php-4.0.4pl1/libtool --silent --mode=link gcc -I. -I/root
/pacotes/php-4.0.4pl1/ -I/root/pacotes/php-4.0.4pl1/main -I/root/pacotes/php-4.0
.4pl1 -I/root/pacotes/php-4.0.4pl1/Zend -I/usr/local/mysql/include/mysql -I/usr/
local/freetds/include -I/root/pacotes/php-4.0.4pl1/ext/xml/expat/xmltok -I/root/
pacotes/php-4.0.4pl1/ext/xml/expat/xmlparse -I/root/pacotes/php-4.0.4pl1/TSRM -
DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la
.libs/libphp4.a(php_sybase_db.o): In function `php_sybase_do_connect':
/root/pacotes/php-4.0.4pl1/ext/sybase/php_sybase_db.c:354: undefined reference t
o `DBSETLCHARSET'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/pacotes/php-4.0.4pl1'
make: *** [all-recursive] Error 1
Please notice that php-4.0.0 does compile VERY well with the same configure and libs and et all.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=8947&edit=1