Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afbay-0004Tr-6K for pgsql-odbc@arkaria.postgresql.org; Mon, 14 Mar 2016 23:08:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1afbax-0004SH-PR for pgsql-odbc@arkaria.postgresql.org; Mon, 14 Mar 2016 23:08:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1afbax-0004Qh-6I for pgsql-odbc@postgresql.org; Mon, 14 Mar 2016 23:08:15 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1afbat-0005j1-Ma for pgsql-odbc@postgresql.org; Mon, 14 Mar 2016 23:08:14 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 4191923120 for ; Mon, 14 Mar 2016 19:08:09 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 14 Mar 2016 19:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=VgYUCQ4Oa7kWBrFnEv5tM3m/sww=; b=j5Y2P9 PXBCh07RQcNbyB8QaSaxCHuKHn2fLTPyQ9p2t/0V4HfhCWG2HrJ5XufiYHN+5rRI /PXSnYz+sW5BChJKIfBErAvdZHtXFTHVv7DVfyNHqsY289YPSZQcs6E1pKv8oOa6 8zOESXJftYIExh/p6ASsLEb5792up0hl3aHUE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=VgYUCQ4Oa7kWBrF nEv5tM3m/sww=; b=hmAPy3IsmK3Y93V9dF7rbxNAimuzbGp4wJBr8nZqlMqxNkO zWmFkO/Ye51VKu4xT21INwPCK3zEOts4fBNhBm09NhaPIB1rYwbAY/FzUg4HYCCo MpM7mNCbVRtDkNjibbCs9vowBRguqbQqFZl2tTU4ioOP2lTPOViK4gD+NsYk= X-Sasl-enc: WZ8n9LjhPcxXlMC7xuvnPiszLflTxxhTZ7wUmXGeHOp+ 1457996887 Received: from killi.site (c-73-225-242-52.hsd1.wa.comcast.net [73.225.242.52]) by mail.messagingengine.com (Postfix) with ESMTPA id 80D626800CE; Mon, 14 Mar 2016 19:08:07 -0400 (EDT) Subject: Re: Problems installing Postgresql ODBC driver 32bits on Redhat 6.5 To: Laerte Antonio de Almeida Giraldelli , pgsql-odbc@postgresql.org References: From: Adrian Klaver Message-ID: <56E74456.3050806@aklaver.com> Date: Mon, 14 Mar 2016 16:08:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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