Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 18:10:06 -0800 (PST)
From:      Tom <tom@sdf.com>
To:        John Fieber <jfieber@indiana.edu>
Cc:        Palle Girgensohn <girgen@partitur.se>, freebsd-database@FreeBSD.ORG
Subject:   Re: Accessing Sybase/NT from FreeBSD
Message-ID:  <Pine.BSF.4.05.9811171805370.23668-100000@misery.sdf.com>
In-Reply-To: <Pine.BSF.4.05.9811171913310.12652-100000@fallout.campusview.indiana.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 17 Nov 1998, John Fieber wrote:

> On Wed, 18 Nov 1998, Palle Girgensohn wrote:
> 
> > running on an NT server, from FreeBSD. We have some programs running on
> > FreeBSD, and will write some more, that would wan't to access Sybase
> > using an SQL library somehow, sort of like libpq for Postgres.
> 
> I gather there is a free clone of one of the sybase client
> libraries floating around somewhere.  I believe I saw it in
> reference to sqsh (an isql replacement).  The linux sybase client
> stuff works fine on FreeBSD (modulo licensing issues) but you
> would have to setup and use a linux development environment to
> write your own stuff.

  I would use the Openlink Software's ODBC broker from www.openlinksw.com
It is free for a 2 user/10 connection system.  Basically, you run the
broker on any platform that you do have an ODBC driver (probably your NT
server), then use the Openlink ODBC driver to talk to the Broker, which
translates to the Sybase ODBC.  I've got this working for a MS-SQL server.

  However, you need to use the BSDI 2.1 ODBC drivers, and the dynamic one
does not work (*.so).  The static works library ok (*.a).  This is fine
for stuff like PHP and other C programs with ODBC calls, that don't care
about static vs. dynamic.  Perl is a bit of a problem, because it wants to
dynamic load everything at runtime.  I'm working on building a static perl
with the Openlink ODBC driver builtin.

> -john

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811171805370.23668-100000>