Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D6A0A9FA212 for ; Tue, 11 Sep 2007 08:46:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 99422-03 for ; Tue, 11 Sep 2007 08:46:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from bmapps.persistent.co.in (outgoing.persistent.co.in [202.54.11.87]) by postgresql.org (Postfix) with ESMTP id 2DD119FA25B for ; Tue, 11 Sep 2007 08:46:13 -0300 (ADT) Received: from bmapps.persistent.co.in (unknown [127.0.0.1]) by bmapps.persistent.co.in (Symantec Mail Security) with ESMTP id 48C3F3085F6; Tue, 11 Sep 2007 17:16:10 +0530 (IST) X-AuditID: 0a4e0006-a58bebb0000068f1-02-46e680021f66 Received: from mail.persistent.co.in (unknown [10.78.0.1]) by bmapps.persistent.co.in (Symantec Mail Security) with ESMTP id 18D254E4002; Tue, 11 Sep 2007 17:16:10 +0530 (IST) Received: from PSHYLAP0007 (pshylap0007.persistent.co.in [10.233.10.104] (may be forged)) by mail.persistent.co.in (MOS 3.8.4-GA) with ESMTP id BMA99590 (AUTH abhishek_srivastava); Tue, 11 Sep 2007 17:16:05 +0530 (IST) From: "Abhishek Srivastava" To: "'Hiroshi Saito'" Cc: References: <002a01c7f441$e9b7fff0$680ae90a@persistent.co.in> <040101c7f451$f3907f10$c601a8c0@HP22720319231> Subject: Re: IODBC 3.52 with psqlODBC-08.02.0400 Date: Tue, 11 Sep 2007 17:17:01 +0530 Message-ID: <003b01c7f469$7bb7b950$680ae90a@persistent.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <040101c7f451$f3907f10$c601a8c0@HP22720319231> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Thread-Index: Acf0UfaX3jPBfweaT8i2zsRDV/kC9gAF2p3g X-Junkmail-Whitelist: YES (by domain whitelist at mail6.persistent.co.in) X-Brightmail-Tracker: AAAAAA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.35 tagged_above=0 required=5 tests=AWL=0.349, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200709/11 X-Sequence-Number: 9174 Thanks, I built my PGSQL with ssl, after that it worked fine. Regards, Abhishek -----Original Message----- From: Hiroshi Saito [mailto:z-saito@guitar.ocn.ne.jp] Sent: Tuesday, September 11, 2007 2:29 PM To: Abhishek Srivastava Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] IODBC 3.52 with psqlODBC-08.02.0400 Hi. Symbol reference problem in the case of without SSL, please BUILD PostgreSQL including SSL. inet% pg_config --libs -lpgport -lssl -lcrypto -lz -lreadline -lcrypt -lm inet% ldd `pwd`/psqlodbcw.so /home/saito/PSQLODBC/psqlodbc/.libs/psqlodbcw.so: libpq.so.5 => /usr/local/pgsql/lib/libpq.so.5 (0x281bb000) libpthread.so.2 => /usr/lib/libpthread.so.2 (0x281d4000) libiodbc.so.3 => /usr/local/lib/libiodbc.so.3 (0x281f9000) libiodbcinst.so.3 => /usr/local/lib/libiodbcinst.so.3 (0x2823d000) libc.so.6 => /lib/libc.so.6 (0x28077000) libssl.so.4 => /usr/lib/libssl.so.4 (0x2824d000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x2827b000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x2836d000) It may have the necessity for BUILD without SSL. However, It fails now..... Regards, Hiroshi Saito ----- Original Message ----- From: Abhishek Srivastava Hi, I have built iODBC 3.52 on Solaris and then I built psqlodbc with option --with-iodbc. When I try connecting to DB, I get the following error: bash-3.00# ./iodbctestw "DSN=pg_template1;UID=x;PWD=x" iODBC Unicode Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0507.0105 1: SQLDriverConnectW = [iODBC][Driver Manager]ld.so.1: iodbctestw: fatal: relocation error: file /export/home/psqlodbc/lib/psqlodbcw.so: symbol SSL_read: referenced symbol not found (0) SQLSTATE=00000 2: SQLDriverConnectW = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003 Any pointers to fix the problem? Thanks, Abhishek DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.