freetds/PHP

Michael Peppler mpeppler at peppler.org
Wed Nov 14 18:57:16 EST 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.

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



More information about the FreeTDS mailing list