Shared object for the driver in AIX

From: Pablo Álvarez <palvarez(at)denodo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Shared object for the driver in AIX
Date: 2013-08-10 00:23:53
Message-ID: CAPzm679Fk6QMedSFdrBM+aFMzKbNQhXozvWrey+QQoRf5yNPsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi all

I am compiling the ODBC driver in AIX (7.1 for ppc 64bit). I am able to
compile the driver (using xlc 12.1.0) and the process generates
"libpsqlodbcw.a". However, in order to use the driver with the driver
manager I need it to be a .so file (or else I get a magic number error)

I've tried explicitly using the option --enable-shared=yes in the
configure, but the .so file is still not generated. I've tried both with
unixODBC and iodbc, compiled in the same machine.

I am using the following options for the compiler in my environment:
export CC=xlc_r
export CXX=xlC_r
export CCC=xlC_r
export OBJECT_MODE=64
export CFLAGS="-q64 -DBUILD_REAL_64_BIT_MODE"

Any ideas?

Thanks in advance
- Pablo Alvarez

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Frank A. U. 2013-08-10 07:32:07 Threading setting in odbcinst.ini
Previous Message Inoue, Hiroshi 2013-08-06 03:31:06 Re: asci characters 128-159 with ANSI driver