Compiling 09.00.0300 on OS X Snow Leopard
am 08.07.2011 23:01:50 von Brian Panulla
--00235418776076aaea04a795245e
Content-Type: text/plain; charset=ISO-8859-1
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
--00235418776076aaea04a795245e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I'm trying to use psqlODBC on OS X 10.6. I compiled from source with=A0=
configure arguments
--with-iodbc --with-libpq=
=3D/opt/local/lib/postgresql90
I installed PG9 via=
MacPorts.
Using the iODBC driver test script gives me the errors:=
1: SQLDriverConnect =3D [iODBC][Drive=
r Manager]dlopen(/usr/local/lib/psqlodbcw.so, 6): no suitable image found. =
=A0Did find:
/usr/=
local/lib/psqlodbcw.so: mach-o, but wrong architecture (0) SQLSTATE=3D00000=
2: SQLDriverConnect =3D [iODBC][Driver Manager]Specified driver =
could not be loaded (0) SQLSTATE=3DIM003
The Makefile appears to have correctly determined my ar=
chitecture (x86_64-apple-darwin10.8.0).
Any sugest=
ions? 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
--00235418776076aaea04a795245e--
Re: Compiling 09.00.0300 on OS X Snow Leopard
am 09.07.2011 16:20:50 von Hiroshi Saito
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
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc