Skip to Content.
Sympa Menu

freetds - Re: Connect to Sybase ASE ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page