Skip to Content.
Sympa Menu

freetds - Re: freetds/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: freetds/PHP
  • Date: Wed, 14 Nov 2001 15:57:16 -0800


Jim.Hobbs AT state.mn.us wrote:
>
> A build of PHP 4.06 --with-sybase=/usr/local/freetds (0.51) on Solaris 2.6
> is working great. My attempt on Solaris 2.7 with the same components has
> PHP complaining about undefined symbols in <snip>
> /bin/sh /export/home/web/install/php-4.0.6/libtool --silent --mode=link
> gcc -I
> Undefined first referenced
> symbol in file
> tds_put_n /usr/local/freetds/lib/libsybdb.so
> tds_alloc_login /usr/local/freetds/lib/libsybdb.so
> tds_process_result_tokens /usr/local/freetds/lib/libsybdb.so
> tds_del_connection /usr/local/freetds/lib/libsybdb.so
> </snip>
>
> Any clues would be greatly appreciated. Thanks in advance.

I think you need to add -ltds to the link line (you shouldn't
normally have to do this manually, but that should fix it)

Michael




Archive powered by MHonArc 2.6.24.

Top of Page