Skip to Content.
Sympa Menu

freetds - Re: freetds/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jim Hobbs" <JHOBBS AT ngwmail.des.state.mn.us>
  • To: <freetds AT franklin.oit.unc.edu>
  • Cc: <mpeppler AT peppler.org>
  • Subject: Re: freetds/PHP
  • Date: Fri, 16 Nov 2001 11:32:53 -0600


Brian and Mike,

Thank you. That worked great. PHP works without complaint now, but
alas poor Perl (DBD-Sybase-0.91) doesn't want to play.

<snip>
connect: Cannot assign requested address DBI->connect failed: at
/export/cgi-bin/mickey line 37
</snip>

Time to brush up on PHP and put Perl aside for the moment.

Thanks again.

>>> camber AT ais.org 11/14/01 06:04PM >>>

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')
>


---
You are currently subscribed to freetds as: [Jim.Hobbs AT state.mn.us]

To unsubscribe, forward this message to
$subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page