PHP 4.0 Bug #6739 Updated: PHP will not compile with FreeTDS

From: Date: Sat, 30 Dec 2000 18:59:46 +0000
Subject: PHP 4.0 Bug #6739 Updated: PHP will not compile with FreeTDS
Groups: php.dev 
Request: Send a blank email to php-dev+get-42679@lists.php.net to get a copy of this message
ID: 6739 Updated by: sniper Reported By: c.just@phoenixdigital.com Old-Status: Feedback Status: Closed Bug Type: Compile Failure Assigned To: Comments: No feedback. And more likely an user error. If problem still exists with PHP 4.0.4 and you have followed all the install instructions, reopen this bug report. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-23 18:36:41] sniper@php.net Have you tried PHP4.0.3pl1 or latest snapshot from http://snaps.php.net ?? Does this bug still exist with them? --Jani --------------------------------------------------------------------------- [2000-09-13 18:01:06] c.just@phoenixdigital.com Hi, I am trying to install the following on Redhat 6.1 I need to get PHP to talk to a MSSQL 6.5 server so I am trying to install FreeTDS as suggested. FreeTDS compiled as follows ./configure --with-tdsver=4.2 --enable-msdblib --enable-static --enable-dbmfix make make install PHP 4.0.2 compiled as follows ./configure --with-sybase-ct=/usr/local/freetds --enable-track-vars --with-mysql --with-apxs make it then fails here with the error -------------------------------- Making all in . make[1]: Entering directory `/home/phoenix/installs/php-4.0.2' /bin/sh /home/phoenix/installs/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/home/phoenix/installs/php-4.0.2/ -I/home/phoenix/installs/php-4.0.2 -I/home/phoenix/installs/php-4.0.2/main -I/usr/include/apache -I/home/phoenix/installs/php-4.0.2/Zend -I/home/phoenix/installs/php-4.0.2 -I/home/phoenix/installs/php-4.0.2/ext/mysql/libmysql -I/usr/local/freetds/include -I/home/phoenix/installs/php-4.0.2/ext/xml/expat/xmltok -I/home/phoenix/installs/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c stub.c /bin/sh /home/phoenix/installs/php-4.0.2/libtool --silent --mode=link gcc -I. -I/home/phoenix/installs/php-4.0.2/ -I/home/phoenix/installs/php-4.0.2 -I/home/phoenix/installs/php-4.0.2/main -I/usr/include/apache -I/home/phoenix/installs/php-4.0.2/Zend -I/home/phoenix/installs/php-4.0.2 -I/home/phoenix/installs/php-4.0.2/ext/mysql/libmysql -I/usr/local/freetds/include -I/home/phoenix/installs/php-4.0.2/ext/xml/expat/xmltok -I/home/phoenix/installs/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /home/phoenix/installs/php-4.0.2/libs -avoid-version -L/usr/local/freetds/lib -R /usr/local/freetds/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/db/libdb.la ext/gd/libgd.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/sybase_ct/libsybase_ct.la ext/xml/libxml.la -lgdbm -lpam -ldl -lsybtcl -lintl -lcomn -lct -lcs -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv make[1]: Leaving directory `/home/phoenix/installs/php-4.0.2' /usr/bin/ld: cannot open -lsybtcl: No such file or directory collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make: *** [all-recursive] Error 1 -------------------------------- Can someone please explain why this might be happening? Even if they don't know how to fix it just give me a reason so I can try to fix it myself Thanks --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6739

« previous php.dev (#42679) next »