Re: Compiling 09.00.0300 on OS X Snow Leopard

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Brian Panulla <bpanulla(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Compiling 09.00.0300 on OS X Snow Leopard
Date: 2011-07-16 04:49:46
Message-ID: 4E21186A.4030207@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Brian,

(2011/07/16 8:10), Brian Panulla wrote:
> On Sat, Jul 9, 2011 at 7:20 AM, Hiroshi Saito <hiroshi(at)winpg(dot)jp
> <mailto:hiroshi(at)winpg(dot)jp>> 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message BGoebel 2011-07-18 10:44:54 Error Retrieving Catalog Info
Previous Message Brian Panulla 2011-07-15 23:10:47 Re: Compiling 09.00.0300 on OS X Snow Leopard