Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgDnW-0003FH-VU for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Nov 2013 13:14:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VgDnV-0003Iq-TF for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Nov 2013 13:14:25 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgDnV-0003Ik-BA for pgsql-odbc@postgresql.org; Tue, 12 Nov 2013 13:14:25 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgDnR-0004n7-8D for pgsql-odbc@postgresql.org; Tue, 12 Nov 2013 13:14:23 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rACDEIhd004888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 12 Nov 2013 08:14:19 -0500 Received: from nb.usersys.redhat.com (unused-4-223.brq.redhat.com [10.34.4.223]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rACDEH41013181; Tue, 12 Nov 2013 08:14:17 -0500 From: Pavel Raiskup To: pgsql-odbc@postgresql.org Cc: "Inoue, Hiroshi" , hhorak@redhat.com Subject: Re: Is the linking with -lodbc necessary? (--with-odbc) Date: Tue, 12 Nov 2013 14:14:16 +0100 Message-ID: <7028830.1pt7iG8u2Q@nb.usersys.redhat.com> Organization: Red Hat User-Agent: KMail/4.11.3 (Linux/3.11.7-300.fc20.x86_64; KDE/4.11.3; x86_64; ; ) In-Reply-To: <5281EEB4.5030304@tpf.co.jp> References: <1769926.65KUyECjFr@nb.usersys.redhat.com> <5281EEB4.5030304@tpf.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org > 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 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc