Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 875D0B5DC3F for ; Sat, 16 Jul 2011 01:50:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 58840-05 for ; Sat, 16 Jul 2011 04:49:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id A1687B5DC3E for ; Sat, 16 Jul 2011 01:49:54 -0300 (ADT) Received: (qmail 13769 invoked by uid 512); 16 Jul 2011 04:49:50 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 16 Jul 2011 04:49:50 -0000 Received: from unknown (HELO ?192.168.24.54?) (183.76.23.68) by sd.tpf.co.jp with SMTP; 16 Jul 2011 04:49:50 -0000 Message-ID: <4E21186A.4030207@tpf.co.jp> Date: Sat, 16 Jul 2011 13:49:46 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Brian Panulla CC: pgsql-odbc@postgresql.org Subject: Re: Compiling 09.00.0300 on OS X Snow Leopard References: <4E1863C2.8030205@winpg.jp> 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.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=0.001 X-Spam-Level: X-Archive-Number: 201107/11 X-Sequence-Number: 10688 Hi Brian, (2011/07/16 8:10), Brian Panulla wrote: > On Sat, Jul 9, 2011 at 7:20 AM, Hiroshi Saito > wrote: > > > When it looks normal. > 2. please build the 09.00.0310 > It is correcting a little uneasy portion. > > > Same problem with 0310. > > I think there's something wrong with iODBC support on Mac OS X 10.6. I > made a 32bit/64bit fat binary by building the driver twice with > different configure arguments: > > ./configure --with-iodbc --without-libpq CC="gcc -arch x86_64" > CXX="g++ -arch x86_64" > > ./configure --with-iodbc --without-libpq CC="gcc -arch i386" > CXX="g++ -arch i386" > > and stitching the two versions together with lipo(1). I still couldn't > load the driver successfully but the error message changed: > > [iODBC][Driver Manager]dlopen(/usr/local/lib/psqlodbcw.so, 6): Symbol > not found: _CreateDataSource > Referenced from: /usr/lib/libiodbcinst.2.dylib > Expected in: flat namespace > (0) SQLSTATE=00000 I found the following page iODBC does not work under Mac OSX 10.6.4 http://stackoverflow.com/questions/3905093/iodbc-does-not-work-under-mac-osx-10-6-4 regards, Hiroshi Inoue