Skip to Content.
Sympa Menu

freetds - PHP+freetds compile problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: wezell AT devnul.com
  • To: freetds AT franklin.oit.unc.edu
  • Subject: PHP+freetds compile problem
  • Date: Thu, 16 Nov 2000 17:44:51 -0500


Hey all:

I am trying to compile php-4.0.3pl1 with freetds on a spanking new RedHat
6.2 box. I have downloaded, made and make installed freetds .50, no
problems.
(./configure --enable- --enable-dbmfix)

php configures ok, with ./configure --with-sybase-ct=/usr/local/freetds
--with-imap=../imap-4.7

When I go to make php, it dies looking for -linsck.

make[1]: Entering directory `/tars/php-4.0.3pl1'
/bin/sh /tars/php-4.0.3pl1/libtool --silent --mode=link gcc -I.
-I/tars/php-4.0.3pl1/ -I/tars/php-4.0.3pl1 -I/tars/php-4.0.3pl1/main
-I/tars/php-4.0.3pl1/Zend -I/tars/php-4.0.3pl1 -I/tars/imap-4.7c/c-client
-I/tars/php-4.0.3pl1/ext/mysql/libmysql -I/usr/local/freetds/include
-I/tars/php-4.0.3pl1/ext/xml/expat/xmltok
-I/tars/php-4.0.3pl1/ext/xml/expat/xmlparse -I/tars/php-4.0.3pl1/TSRM
-DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la
/usr/bin/ld: cannot find -linsck
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/tars/php-4.0.3pl1'
make: *** [all-recursive] Error 1

I have made sure that the freetds/lib directory is in my ld path, I have
tried the latest freetds tar, but nothing seems to work.

Any help would be greatly appreciated.


Thanks,


Will
will AT dotmarketing.com





  • PHP+freetds compile problem, wezell, 11/16/2000

Archive powered by MHonArc 2.6.24.

Top of Page