X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D39FE9FB1BF for ; Tue, 18 Jul 2006 08:31:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 19826-01-9 for ; Tue, 18 Jul 2006 08:31:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail009.ownmail.com (unknown [203.199.110.93]) by postgresql.org (Postfix) with ESMTP id E7C869FB255 for ; Tue, 18 Jul 2006 03:39:36 -0300 (ADT) Received: (from domains@localhost) by mail009.ownmail.com (8.12.11/8.12.10) id k6I6bKeg005892; Tue, 18 Jul 2006 12:07:20 +0530 Date: Tue, 18 Jul 2006 12:07:20 +0530 Message-Id: <200607180637.k6I6bKeg005892@mail009.ownmail.com> X-Originating-IP: 203.199.110.93 Reply-To: From: To: Ludek Finstrle , pgsql-odbc@postgresql.org Subject: Re: newbie - segmentation fault with unix odbc MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200607/16 X-Sequence-Number: 7927 Hi Ludec, I realized the fault. The latest psqlodbc doesnot work with unixodbc (latest) on 64 bit arch perhaps. I got an older version of psqlodbc and it worked. Both are compiled 64-bit on a 64-bit machine. Thanks for your reply. It was a booster for me. And now I know how to enable tracing for it. Thanks a lot. With warm regards. Vivek J. Joshi. vivek@staff.ownmail.com Trikon electronics Pvt. Ltd. All science is either physics or stamp collecting. -- Ernest Rutherford Ludek Finstrle wrote: > >> Hello friends, >> I am a newbie to databases. I am trying to start a postgres connection >> using unix odbc on a Slackware 10 and a AMD opteron machine, and a 64 bit >> gcc compiler and 64 bit kernel. I am using >> >> psqlodbc-08.02.0002 >> and >> unixODBC-2.2.11 >> >> Whenever I try to connect to the database server, I get a segmentation fault. I give the command:- >> isql mydb -v >> Segmentation fault >> >> I tried to figure out whats wrong but no use. > >Hello > >The first good step could be the trace file from unixODBC. >You may see the Trece* options in /etc/odbc.ini >The second step could be enabling mylog output of psqlodbc. >Add Debug = 1 line to /etc/odbc.ini for the right datasource. > >BTW are you sure that you have compiled unixODBC and psqlodbc the right >way (both 64-bit)? Maybe you could try compile it both 32-bit and test >if the problem isn't there. > >Regards, > >Luf > >---------------------------(end of broadcast)--------------------------- >TIP 6: explain analyze is your friend