pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: [ODBC] ODBC constructs
Date: Wed, 22 May 2013 11:44:48 -0700
Message-ID: <519D1220.3060107@hogranch.com> (raw)
In-Reply-To: <CALSLE1PD8tAT+euR=w0iXgqdnagYwwYKB6a6DxcRaGeZ4tzVJQ@mail.gmail.com>
References: <CALSLE1MARsmPHrRi2jtYDrZz80JQnx8kMjaAh5UGHMNUcoMh3g@mail.gmail.com>
	<CALSLE1NF=bd=gJVg_19FjX6cqPpcdoboBnyCf3LUQDA_=XhkLQ@mail.gmail.com>
	<87F42982BF2B434F831FCEF4C45FC33E64E81913@EXCHANGE.corporate.connx.com>
	<CALSLE1MADFSVPUb+SPdQ38=N4oiz-CvJEUprTWOBaUdsaGNrYg@mail.gmail.com>
	<87F42982BF2B434F831FCEF4C45FC33E64E8199F@EXCHANGE.corporate.connx.com>
	<CALSLE1Oyh9LaTYJvn8TUTwnOz_EdVz7wc3O_mYeJ1M=KgDUiwQ@mail.gmail.com>
	<87F42982BF2B434F831FCEF4C45FC33E64E819C3@EXCHANGE.corporate.connx.com>
	<CALSLE1NSGa_Dz3mnUiUNRCgW41VquJ6bJgix0eezThsT82R2Eg@mail.gmail.com>
	<519C31DF.5010102@hogranch.com>
	<CALSLE1OdpObDxUKt27XDt4OGoyd_LJyvF440PnfGScR7y3AH-Q@mail.gmail.com>
	<519C434B.8090307@hogranch.com>
	<CALSLE1MSJnngyi1CiHZ-ySy1bU3mkuwURGww3mMN6kcLR3Vc4w@mail.gmail.com>
	<519C5C6F.7000904@hogranch.com>
	<CALSLE1NF1tEdnoqnyr_n5aii_pxSTq6dzwNG_TWSOS_JqdM_Sg@mail.gmail.com>
	<CALSLE1PD8tAT+euR=w0iXgqdnagYwwYKB6a6DxcRaGeZ4tzVJQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

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

view thread (47+ messages)  latest in thread

Message-ID: <519D1220.3060107@hogranch.com>
Permalink:  ../519D1220.3060107@hogranch.com/
Also on:    postgresql.org/message-id/519D1220.3060107@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pierce@hogranch.com, pgsql-general@postgresql.org
  Subject: Re: [ODBC] ODBC constructs
  In-Reply-To: <519D1220.3060107@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox