Skip to Content.
Sympa Menu

freetds - Re: freetds/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: freetds/PHP
  • Date: Wed, 14 Nov 2001 19:04:00 -0500 (EST)



You need to add -ltds to the link line. You may be able do something like

export EXTRA_LIBS=-ltds

and configure it normally. I haven't tested this but I think it'll work
(the EXTRA_LIBS part, not the fact that you need -ltds, that I'm sure of).

Cheers,

Brian


On Wed, 14 Nov 2001 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.
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page