Re: [ODBC] ODBC constructs

From: John R Pierce <pierce(at)hogranch(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [ODBC] ODBC constructs
Date: 2013-05-22 18:44:48
Message-ID: 519D1220.3060107@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-odbc

On 5/22/2013 11:24 AM, Dev Kumkar wrote:
> Started first with looking more into building psqlODBC today

why the heck are you not installing unixODBC-libs from RPMs ?!?

yum install unixODBC64 unixODBC64-libs unixODBC64-devel

should do it, unless you're on Red Hat Enterprise without a
subscription, then you can do it the hard way...

mkdir unixODBCdownloads && cd unixODBCdownloads
wget
http://mirrors.kernel.org/centos/5/os/x86_64/CentOS/unixODBC64-2.2.14-3.el5.x86_64.rpm
wget
http://mirrors.kernel.org/centos/5/os/x86_64/CentOS/unixODBC64-libs-2.2.14-3.el5.x86_64.rpm
wget
http://mirrors.kernel.org/centos/5/os/x86_64/CentOS/unixODBC64-devel-2.2.14-3.el5.x86_64.rpm
rpm -Uvh *.rpm

if you get any dependency errors, fetch the required RPMs from
http://mirrors.kernel.org/centos/5/os/x86_64/CentOS/ and install
manually with the rpm command. don't be surprised if the dependencies
have dependencies, normally yum would sort that out automatically.

if your application is 32bit, then you'll need to install 32bit ODBC
instead of the 64bit stuff above.

if you ARE on Red Hat Enterprise Linux without a RHN subscription, you
really really should be on CentOS instead, its a 100% compatible
distribution rebuilt from Red Hat sources with the branding and redhat
network subscription stuff removed and replaced with open yum repositories.

btw, i'm offline til next week. have fun with that.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Virupaksha Kanjilal 2013-05-22 21:30:26 WAL files required to make base backup consistent
Previous Message German Becker 2013-05-22 18:41:19 Re: WAL files not following sequence

Browse pgsql-general by date

  From Date Subject
Next Message Moshe Jacobson 2013-05-22 18:54:32 Re: Strange locking problem
Previous Message Dev Kumkar 2013-05-22 18:24:16 Re: [ODBC] ODBC constructs

Browse pgsql-odbc by date

  From Date Subject
Next Message Dev Kumkar 2013-05-22 21:38:06 Re: [ODBC] ODBC constructs
Previous Message Dev Kumkar 2013-05-22 18:24:16 Re: [ODBC] ODBC constructs