Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EE579B5DBD2 for ; Sat, 9 Jul 2011 11:20:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 93209-07 for ; Sat, 9 Jul 2011 14:20:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from winpg.jp (winpg.jp [182.48.52.43]) by mail.postgresql.org (Postfix) with ESMTP id B2B48B5D803 for ; Sat, 9 Jul 2011 11:20:46 -0300 (ADT) Received: from [192.168.202.5] (p3239-ipad212funabasi.chiba.ocn.ne.jp [58.91.167.239]) by winpg.jp (Postfix) with ESMTPA id 20A1B24A987; Sat, 9 Jul 2011 23:20:45 +0900 (JST) Message-ID: <4E1863C2.8030205@winpg.jp> Date: Sat, 09 Jul 2011 23:20:50 +0900 From: Hiroshi Saito User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Brian Panulla CC: pgsql-odbc@postgresql.org Subject: Re: Compiling 09.00.0300 on OS X Snow Leopard References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/7 X-Sequence-Number: 10684 Hi Brian-san. Please try the following, 1. relation is investigated by ldd. ldd /usr/local/lib/psqlodbcw.so When it looks normal. 2. please build the 09.00.0310 It is correcting a little uneasy portion. although verification is impossible by me. sorry, I don't have MAC machine. However, More information may be able to obtain someone's suggestion. Regards, Hiroshi Saito (2011/07/09 6:01), Brian Panulla wrote: > I'm trying to use psqlODBC on OS X 10.6. I compiled from source > with configure arguments > > --with-iodbc --with-libpq=/opt/local/lib/postgresql90 > > I installed PG9 via MacPorts. > > Using the iODBC driver test script gives me the errors: > > 1: SQLDriverConnect = [iODBC][Driver > Manager]dlopen(/usr/local/lib/psqlodbcw.so, 6): no suitable image found. > Did find: > /usr/local/lib/psqlodbcw.so: mach-o, but wrong architecture (0) > SQLSTATE=00000 > 2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not > be loaded (0) SQLSTATE=IM003 > > The Makefile appears to have correctly determined my architecture > (x86_64-apple-darwin10.8.0). > > Any sugestions? Is there a better way to get the ODBC driver for OS X? > It didn't appear to be included with any of the various packages in > MacPorts. > > -B