[unixODBC-support] (unixODBC 2.3.1 OR unixODBC 2.2.14) AND PostgreSQL 9.1 AND Solaris 10 AND psqlodbc-09.01.0100

Nick Gorham nick at lurcher.org
Sun Jun 3 09:47:34 BST 2012


On 02/06/2012 23:18, Hernan Saltiel wrote:
>
>
> On Sat, Jun 2, 2012 at 6:01 PM, Nick Gorham <nick at lurcher.org 
> <mailto:nick at lurcher.org>> wrote:
>
>     On 02/06/2012 17:57, Hernan Saltiel wrote:
>
>         Hi all!
>
>         I'm having several issues trying to make the combination of
>         unixODBC 2.3.1 + psqlodbc-09.01.0100 + Solaris 10 SPARC working.
>         At the beggining, I tried compiling unixODBC 2.3.1 with gcc
>         3.4.6 downloaded from Sunfreeware.com. To install Postgresql
>         9.1 and gcc 3.4.6, I needed also libiconv, libintl, zlib, etc.
>         All of this installs in /usr/local, and Postgresql installs in
>         /usr/local/pgsql.
>         unixODBC 2.3.1 compiles perfectly, and also psqlodbc-09.01.0100.
>         The problem arises when trying to connect to a database I
>         created for test purposes.
>         I created the scweb database with only one table.
>         I wrote the /usr/local/etc/odbcinst.ini with this contents:
>
>
>     Is it a 32 or 64 bit build?
>
>
> Hi!
>
> This is the output of isainfo:
> # isainfo -v
> 64-bit sparcv9 applications
>         vis
> 32-bit sparc applications
>         vis v8plus div32 mul32

Ok, what does

file /usr/local/bin/isql

show you, A 32 or 64 bit binary

Also, does ldd on the postgres driver show it linked against libodbc* 
from the configure line it looks like it should.

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20120603/c5908597/attachment.html>


More information about the unixODBC-support mailing list