freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Rick Gigger" <rick AT alpinenetworking.com>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: sql server 7 problem - php
- Date: Sat, 24 Mar 2001 12:49:41 -0800
I tried to compile php with the following configuration
./configure --with-mysql --with-apxs=/usr/local/apache_1.3.19/bin/apxs --wit
h-sybase-ct=/usr/local/freetds
but on make it produced the following just before quitting:
make[2]: Leaving directory `/home/rick/src/php-4.0.4pl1/regex'
make[1]: Leaving directory `/home/rick/src/php-4.0.4pl1/regex'
Making all in .
make[1]: Entering directory `/home/rick/src/php-4.0.4pl1'
/bin/sh /home/rick/src/php-4.0.4pl1/libtool --silent --mode=link
gcc -I. -I/home/rick/src/php-4.0.4pl1/ -I/home/rick/src/php-4.0.4pl1/main -
I/home/rick/src/php-4.0.4pl1 -I/usr/local/apache_1.3.19/include -I/home/rick
/src/php-4.0.4pl1/Zend -I/home/rick/src/php-4.0.4pl1/ext/mysql/libmysql -I/u
sr/local/freetds/include -I/home/rick/src/php-4.0.4pl1/ext/xml/expat/xmltok
-I/home/rick/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/rick/src/php-4.
0.4pl1/TSRM -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2
-o libphp4.la -rpath
/home/rick/src/php-4.0.4pl1/libs -avoid-version -L/usr/local/freetds/lib -R
/usr/local/freetds/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/sybase_ct/libsybase_ct.la ext/xml/libxml.la
TSRM/libtsrm.la -lpam -ldl -lsybtcl -lintl -lcomn -lct -lcs -lresolv -lm -ld
l -lcrypt -lnsl -lresolv
/usr/bin/ld: cannot find -lsybtcl
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/rick/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1
-----Original Message-----
From: bounce-freetds-128533 AT franklin.oit.unc.edu
[mailto:bounce-freetds-128533 AT franklin.oit.unc.edu]On Behalf Of Brian
Bruns
Sent: Saturday, March 24, 2001 7:12 AM
To: TDS Development Group
Subject: [freetds] Re: sql server 7 problem - php
You may have a problem with dbm...is you php built with dbm? Try
configuring with --with-sybase-ct instead and see if it works that way.
By the way, you may want to check out the PHP section of the userguide for
how to configure if you have the dbm conflict:
http://www.freetds.org/userguide/x157.html
Brian
On Fri, 23 Mar 2001, Rick Gigger wrote:
> Just to clarify that:
>
> I put SetEnv SYBASE /usr/local/freetds info my httpd.conf
> /usr/local/freetds/lib is in my ld.so.conf
> and I have run ldconfig with it in there.
>
> And it still gives the same error ("Warning: 0 is not a Sybase link index
in
> /usr/local/apache_1.3.19/htdocs/darius.php on line 31")
>
> Rick
>
> -----Original Message-----
> From: bounce-freetds-128533 AT franklin.oit.unc.edu
> [mailto:bounce-freetds-128533 AT franklin.oit.unc.edu]On Behalf Of Rick
> Gigger
> Sent: Friday, March 23, 2001 6:38 AM
> To: TDS Development Group
> Subject: [freetds] Re: sql server 7 problem - php
>
>
> Still no luck. I'm completely stumped. The only thing I can think of now
> is to install it on a fresh box, see if it works and then compare
> configurations.
>
> -----Original Message-----
> From: bounce-freetds-128533 AT franklin.oit.unc.edu
> [mailto:bounce-freetds-128533 AT franklin.oit.unc.edu]On Behalf Of Brian
> Bruns
> Sent: Friday, March 23, 2001 5:31 AM
> To: TDS Development Group
> Subject: [freetds] Re: sql server 7 problem - php
>
>
>
> Ok, either do an 'export SYBASE=/usr/local/freetds' prior to starting
> apache or put the 'SetEnv SYBASE /usr/local/freetds' directive in you
> httpd.conf file
>
> On Thu, 22 Mar 2001, Rick Gigger wrote:
>
> > Uh, "Does the apache process have the $SYBASE set" this is probably a
> stupid
> > question but what does that mean? How would I check for it and how
would
> I
> > set it if it's not?
> >
> > Rick Gigger
> >
> >
> >
> > -----Original Message-----
> > From: bounce-freetds-128533 AT franklin.oit.unc.edu
> > [mailto:bounce-freetds-128533 AT franklin.oit.unc.edu]On Behalf Of Brian
> > Bruns
> > Sent: Thursday, March 22, 2001 5:31 PM
> > To: TDS Development Group
> > Subject: [freetds] Re: sql server 7 problem - php
> >
> >
> > Looks like the install is ok...Does the apache process have the $SYBASE
> > set and is /usr/local/freetds/lib in your ld.so.conf or
$LD_LIBRARY_PATH?
> >
> > Brian
> >
> > On Thu, 22 Mar 2001, Rick Gigger wrote:
> >
> > > Some tests fail. I will put my exact build instructions here:
> > >
> > > % ./configure --with-tdsver=4.2
> > >
> > > Works fine. For some reason it is even working if I don't use
> > > the --enable-dbmfix.
> > >
> > >
> > >
> >
>
> >
> > ---
> > You are currently subscribed to freetds as: [rick AT alpinenetworking.com]
> > To unsubscribe, forward this message to
> > $subst('Email.Unsub')
> >
> >
> > ---
> > 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: [rick AT alpinenetworking.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>
> ---
> You are currently subscribed to freetds as: [rick AT alpinenetworking.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>
> ---
> 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: [rick AT alpinenetworking.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')
-
Re: sql server 7 problem - php
, (continued)
- Re: sql server 7 problem - php, Rick Gigger, 03/22/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/22/2001
- Re: sql server 7 problem - php, Brian Bruns, 03/22/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/22/2001
- Re: sql server 7 problem - php, Brian Bruns, 03/22/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/22/2001
- Re: sql server 7 problem - php, Brian Bruns, 03/23/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/23/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/23/2001
- Re: sql server 7 problem - php, Brian Bruns, 03/24/2001
- Re: sql server 7 problem - php, Rick Gigger, 03/24/2001
- Re: sql server 7 problem - php, Darryl Friesen, 03/24/2001
Archive powered by MHonArc 2.6.24.