freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James Cameron <cameron AT stl.dec.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Cc: norm AT kirais.com
- Subject: Re: Connect to Sybase ASE ?
- Date: Thu, 18 Oct 2001 14:24:22 +1000
Aha! I've figured out Norman's problem with dbopen.
Norman Palardy wrote:
> ./configure --prefix=/usr/local/freetds --with-tdsver=4.2
> --enable-dbmfix --enable-shared --enable-static
Note the --enable-dbmfix.
> But, the following ALWAYS says the connection failed regardless.
> dbproc = dbopen( login , argv[1] ) ;
Change this to tdsdbopen() and give it another go.
dbopen() will have been satisfied by the linker from the dbm library.
>From the FreeTDS User Guide:
"--enable-dbmfix Force the function dbopen() in the dblib API to be
renamed tdsdbopen(). This option is used to avoid a conflict with
programs that link in both dblib and some flavor of DBM (ndbm, gdbm,
etc...). Note the application will have to be modified to call
tdsdbopen() instead, see the PHP Section for information on fixing this
in PHP."
--
James Cameron
-
Connect to Sybase ASE ?,
Norman Palardy, 10/15/2001
- <Possible follow-up(s)>
- Re: Connect to Sybase ASE ?, Brian Bruns, 10/15/2001
- Re: Connect to Sybase ASE ?, Norman Palardy, 10/15/2001
- Re: Connect to Sybase ASE ?, Richard Rowell, 10/15/2001
- Re: Connect to Sybase ASE ?, Brian Bruns, 10/15/2001
- Re: Connect to Sybase ASE ?, Peter Moore, 10/16/2001
- Re: Connect to Sybase ASE ?, James Cameron, 10/18/2001
Archive powered by MHonArc 2.6.24.