From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Laerte Antonio de Almeida Giraldelli <laerteg@cpqd.com.br>
To: pgsql-odbc@postgresql.org
Subject: Re: Problems installing Postgresql ODBC driver 32bits on Redhat 6.5
Date: Mon, 14 Mar 2016 16:08:06 -0700
Message-ID: <56E74456.3050806@aklaver.com> (raw)
In-Reply-To: <CAHcrHLY0jE4bTQnWuGkg5r1vYTTwMtrjP_+nAZBm=_LuhnknTQ@mail.gmail.com>
References: <CAHcrHLY0jE4bTQnWuGkg5r1vYTTwMtrjP_+nAZBm=_LuhnknTQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 03/14/2016 11:49 AM, Laerte Antonio de Almeida Giraldelli wrote:
> Hello, please
>
> We are trying to do a postgre isql conexion . We tried to install
> several RPM packages for postgresql-odbc 32bits, but we can't make a
> test using isql.
>
> We have the environment below:
>
> SO:Redhat 6.5
> unixODBC-2.2.14-12.el6_3.i686 (installed)
> When the pkg postgresql-odbc-7.0.2-17.i386.rpm was installed, It
> returned this error:
>
> isql -v rep_teste
>
> [01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/psqlodbc.so' :
> file not found
> [ISQL]ERROR: Could not SQLConnect
Did you check if the file existed at the above location or anywhere?
>
> When the pkg postgresql-odbc-7.2.5-1.i386.rpm was installed, the lib
> above was installed, but we got the error:
Where was it installed?
>
> isql -v rep_teste
>
> [IM002][unixODBC]Missing server name, port, or database name in call to
> CC_connect.
> [ISQL]ERROR: Could not SQLConnect
>
> We guess the /etc/odbc.ini is correct:
>
> [rep_teste]
> Description = PostgreSQL connection to SallyDB
> Driver = PostgreSQL
> Database = rep_teswte
> Servername = vmhteste
> UserName = teste
> Password = 123456
> Port = 5432
> Protocol = 9.4
> ReadOnly = No
> RowVersioning = No
> ShowSystemTables = No
> ConnSettings =
>
> We think there are a postgresql-odbc package mistake but we can't find
> the correct package.
What is in the odbcinst.ini file?
What are repo(s) are you using to get the unixODBC and postgresql-odbc
packages?
>
> We'll apprecciate any help. Thank !!.
>
> Att.
> Laerte Antonio.
> --------------------------------------------
> "/When you make your mark in the world, watch out for guys with
> erasers./" The Wall Street Journal.
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: adrian.klaver@aklaver.com, laerteg@cpqd.com.br
Subject: Re: Problems installing Postgresql ODBC driver 32bits on Redhat 6.5
In-Reply-To: <56E74456.3050806@aklaver.com>
References: <CAHcrHLY0jE4bTQnWuGkg5r1vYTTwMtrjP_+nAZBm=_LuhnknTQ@mail.gmail.com> <56E74456.3050806@aklaver.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