pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Shared object for the driver in AIX 2+ messages / 2 participants [nested] [flat]
* Shared object for the driver in AIX @ 2013-08-10 00:23 Pablo Álvarez <palvarez@denodo.com> 2013-11-04 16:09 ` Re: Shared object for the driver in AIX reinier <reinier@humaninference.com> 0 siblings, 1 reply; 2+ messages in thread From: Pablo Álvarez @ 2013-08-10 00:23 UTC (permalink / raw) To: 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Shared object for the driver in AIX 2013-08-10 00:23 Shared object for the driver in AIX Pablo Álvarez <palvarez@denodo.com> @ 2013-11-04 16:09 ` reinier <reinier@humaninference.com> 0 siblings, 0 replies; 2+ messages in thread From: reinier @ 2013-11-04 16:09 UTC (permalink / raw) To: pgsql-odbc Extract the .so file from the .a: ar -x -X32_64 psqlodbcw.a -- View this message in context: http://postgresql.1045698.n5.nabble.com/Shared-object-for-the-driver-in-AIX-tp5767046p5776861.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-11-04 16:09 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2013-08-10 00:23 Shared object for the driver in AIX Pablo Álvarez <palvarez@denodo.com> 2013-11-04 16:09 ` reinier <reinier@humaninference.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox