X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 883F59FA2A9 for ; Thu, 21 Sep 2006 10:15:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 09813-03 for ; Thu, 21 Sep 2006 13:14:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from omta18.mta.everyone.net (sitemail2.everyone.net [216.200.145.36]) by postgresql.org (Postfix) with ESMTP id 68DE69FA4D0 for ; Thu, 21 Sep 2006 10:14:53 -0300 (ADT) Received: from dm24.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta18.mta.everyone.net (Postfix) with ESMTP id 9B37241203 for ; Thu, 21 Sep 2006 06:14:51 -0700 (PDT) X-Eon-Dm: dm24 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Message-Id: <20060921061451.CA340240@resin07.mta.everyone.net> Date: Thu, 21 Sep 2006 06:14:51 -0700 From: "rjoy rjoy" Reply-To: To: Subject: Re: Undefined Symbol error trying to connect with OpenOffice X-Eon-Sig: AQJGQntFEpBLDr2BDgEAAAAB,2a7b77640ca25379f1e93240b8349220 X-Originating-Ip: [84.121.92.57] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/83 X-Sequence-Number: 8234 If anyone else has this problem and finds this message, the solution was that I didn't have the iodbcinst.h file when I compiled the postgres odbc driver, you can get this from the iodbc distribution. That and the iodbcinst library file are needed for SQLGetPrivateProfileString and SQLWritePrivateProfileString if you configure your driver as --with-iodbc. --- rjoy@randijoy.com wrote: From: "rjoy rjoy" To: Subject: [ODBC] Undefined Symbol error trying to connect with OpenOffice Date: Thu, 14 Sep 2006 08:05:00 -0700 Hello, I am new to the list and very new to ODBC with PostgreSQL. I am trying to access my Postgres database using OpenOffice through ODBC. When I try to view the tables tab in the Data Source Administrator in OpenOffice, I am unable to connect and view the tables because of the error Undefined Symbol: SQLGetPrivateProfileString, unable to open library. I get the same undefined symbol error when I run dltest on the library from the command line. I did a search on the Internet and only found a message and a bug report that both said to use a 08.00.0004 tarball, but the message was a year old and I am using 08.01.0200. Pertinent info: pgsql odbc 08.01.0200 library is psqlodbcw.so (from postgres dist, not from unixodbc) unix odbc 2.2.4 postgres version 7.4.7 OS is Linux (Debian) ISQL connects successfully and views tables (so i assume config files are ok) ldd shows no library dependency on libodbcinst.so (where another archived message said SQLGetPrivateProfileString is implemented) and nm: /home/randi/pgsql/lib/libodbcinst.so: no symbols nm /home/randi/pgsql/lib/psqlodbcw.so | grep SQLGetPrivateProfileString U SQLGetPrivateProfileString Thank you so much for any suggestions. Randi ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org