Compiling 09.00.0300 on OS X Snow Leopard

Поиск
Список
Период
Сортировка
От Brian Panulla
Тема Compiling 09.00.0300 on OS X Snow Leopard
Дата
Msg-id CANavk+29SPG0QMN02bthXO=5aBVfGHvPgy66cLaWQazuWqfF6Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Compiling 09.00.0300 on OS X Snow Leopard  (Hiroshi Saito <hiroshi@winpg.jp>)
Список pgsql-odbc
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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Saito
Дата:
Сообщение: psqlODBC 09.00.0310 Released
Следующее
От: Hiroshi Saito
Дата:
Сообщение: Re: Compiling 09.00.0300 on OS X Snow Leopard