Skip to Content.
Sympa Menu

freetds - [freetds] lsybtcl error when building PHP 5.3.2 with FreeTDS 0.82 on Mac Server 10.6.3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Paquin <brian.paquin AT yale.edu>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] lsybtcl error when building PHP 5.3.2 with FreeTDS 0.82 on Mac Server 10.6.3
  • Date: Thu, 27 May 2010 23:27:54 -0400

I get the following error when trying to build PHP 5.3.2:

ld: library not found for -lsybtcl
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1

My system consists of:
- Mac OS 10.6.3 Server
- FreeTDS 0.8.2 (stable)
- PHP 5.3.2
- Apache 2.2.15

FreeTDS: ./configure --prefix=/usr/local/freetds
Apache: ./configure --prefix=/usr/local/apache2 --enable-so
--enable-mods-shared=most --enable-ssl --with-ssl=/System/Library/OpenSSL
PHP: ./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs --with-sybase-ct=/usr/local/freetds
--enable-exif

If I use FreeTDS 0.6.3 (instead of 0.8.2), I don't get the error above...
(and I am able to query our db server via PHP)
So I have a solution I can work with, but I would like to solve this if
someone knows how...

Any ideas?

Thanks,

Brian


  • [freetds] lsybtcl error when building PHP 5.3.2 with FreeTDS 0.82 on Mac Server 10.6.3, Brian Paquin, 05/27/2010

Archive powered by MHonArc 2.6.24.

Top of Page