Re: Is the linking with -lodbc necessary? (--with-odbc)

From: Pavel Raiskup <praiskup(at)redhat(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Cc: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>, hhorak(at)redhat(dot)com
Subject: Re: Is the linking with -lodbc necessary? (--with-odbc)
Date: 2013-11-12 13:14:16
Message-ID: 7028830.1pt7iG8u2Q@nb.usersys.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> Seems -lodbcinst is really necessary not -lodbc.
> Could you please try the attached patch for the current git?

Hi, thanks a lot for looking at it! The patch works (I have lost access
to s390x for a moment, but testing on that arch is not needed iiuic).
That means hand testing via 'isql' works OK on x86_64. Also ldd is fine:

$ ldd ./.libs/psqlodbcw.so | grep libodbc
libodbcinst.so.2 => /lib64/libodbcinst.so.2 (0x00007fbf039b3000)

But looking at configure.ac - we should probably fix the iodbc case.. but
I'm not sure about that.

Just a little update to this issue: I tried other architectures I am able
to test and the problematic architectures seem to be at least armv7hl,
s390x, s390.

Thanks, Pavel

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Pavel Raiskup 2013-11-12 17:54:10 Re: Is the linking with -lodbc necessary? (--with-odbc)
Previous Message Inoue, Hiroshi 2013-11-12 09:02:44 Re: Is the linking with -lodbc necessary? (--with-odbc)