Re: Compile php5-sybase_ct-5.2.9 with freetds-devel-0.82.1_1, 1 in FreeBSD ports will Failed!

Stuart Henderson <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
replying to an old mail..

On 2009-03-26, James Chang <[email protected]> wrote:
>
>     Because my backend DB Server is Sybase ASE 15.0.2, I need to re-build my
> php5-sybase_ct-5.2.9 with FreeTDS 0.82(or above). Or I will encounter truncated
> problem when column type is Char(n), VarChar(n), Binary(n), and VarBinary(n)
> datatypes where n is more than 255 bytes.
>
>     Could you please do me a favor ?
>
> Best Regards!
>
> P.S.
> 1.The following is compiling Error message :<
[...]
> /usr/bin/ld: cannot find -lsybtcl
> *** Error code 1
>
> Stop in /usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct.

in ext/sybase_ct/config.m4, change this line:

-  if test -f $SYBASE_CT_INCDIR/tds.h; then

to this line:

+  if test -f $SYBASE_CT_INCDIR/sybdb.h; then
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.