PHP 4.0 Bug #7792: -lsybctl failure at FreeTDS

From: Date: Mon, 13 Nov 2000 20:02:54 +0000
Subject: PHP 4.0 Bug #7792: -lsybctl failure at FreeTDS
Groups: php.dev 
Request: Send a blank email to php-dev+get-37972@lists.php.net to get a copy of this message
From: alex@quad.com.ar Operating system: Debian 2.2 (kernel 2.2.16) PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: -lsybctl failure at FreeTDS php4.0.3pl1 'make' fails when using ./configure --with-sybase-ct=/usr/local/freetds with the following error: make[1]: Entering directory `/src/php-4.0.3pl1' /bin/sh /src/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -I/src/php-4.0.3pl1/ -I/src/php-4.0.3pl1 -I/src/php-4.0.3pl1/main -I/www/include -I/src/php-4.0.3pl1/Zend -I/src/php-4.0.3pl1 -I/usr/local/include/mysql -I/usr/local/freetds/include -I/src/php-4.0.3pl1/ext/xml/expat/xmltok -I/src/php-4.0.3pl1/ext/xml/expat/xmlparse -I/src/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /src/php-4.0.3pl1/libs -avoid-version -L/usr/local/lib/mysql -L/usr/local/pgsql/lib -L/usr/local/freetds/lib -R /usr/local/lib/mysql -R /usr/local/pgsql/lib -R /usr/local/freetds/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/gettext/libgettext.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/sybase_ct/libsybase_ct.la ext/xml/libxml.la TSRM/libtsrm.la -ldl -lsybtcl -lintl -lcomn -lct -lcs -lpq -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl -lresolv /usr/bin/ld: cannot find -lsybtcl collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/src/php-4.0.3pl1' make: *** [all-recursive] Error 1 here's the details of my installation: freeTDS from cvs (version 0.51) was compiled with: ./configure --with-tdserver=4.2 --enable-msdblib --enable-dbmfix --with-gnu-ld --enable-shared --enable-static make && make install (everything went ok, no errors) then at php4.0.3pl1 src dir: ./configure --with-apxs=/www/bin/apxs --with-mysql=/usr/local --with-ftp --with-gettext --with-config-file-path=/etc --disable-debug --enable-track-vars --with-pgsql=/usr/local/pgsql --with-sybase-ct=/usr/local/freetds as far as I can tell that required libsybctl file is not available at the freetds distribution, it is available though, at the sybase-common-11.9.2-3.i386.rpm (from sybase.com) I'll now try to mix files from freetds and sybase-common but I never really liked to play Mr. Frankenstein. anyway, any feedback would be great :) regards, Alex Verstraeten -- Edit Bug report at: http://bugs.php.net/?id=7792&edit=1

« previous php.dev (#37972) next »