php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8947 php don't compile using --with-sybase and FreeTDS (php 4.0.0 does)
Submitted: 2001-01-26 20:42 UTC Modified: 2001-12-13 16:52 UTC
From: apina at infolink dot com dot br Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.4pl1 OS: Slackware 7.0 Kernel 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: apina at infolink dot com dot br
New email:
PHP Version: OS:

 

 [2001-01-26 20:42 UTC] apina at infolink dot com dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-13 16:52 UTC] lobbin@php.net
Works for me with FreeTDS 0.52 and PHP 4.1.0

Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC