Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 76E0A47600E for ; Wed, 3 Jul 2002 11:55:57 -0400 (EDT) Mailbox-Line: From melhenas@cogenit.fr Wed Jul 3 11:55:57 2002 Received: from cogenit.fr (se1.cogenit.fr [195.68.53.173]) by postgresql.org (Postfix) with ESMTP id A4517476080 for ; Wed, 3 Jul 2002 11:27:56 -0400 (EDT) Received: from rdc5.intra.cogenit.fr (rdc5.intra.cogenit.fr [192.168.4.20]) by cogenit.fr (8.12.1/8.12.1) with ESMTP id g63FS0NH026938 for ; Wed, 3 Jul 2002 17:28:00 +0200 Received: (from melhenas@localhost) by rdc5.intra.cogenit.fr (8.11.6/8.12.1) id g63FS0x11757 for pgsql-odbc@postgresql.org; Wed, 3 Jul 2002 17:28:00 +0200 Date: Wed, 3 Jul 2002 17:28:00 +0200 From: Annissa Melhenas To: pgsql-odbc@postgresql.org Subject: ODBC driver Message-ID: <20020703172800.A11748@rdc5.intra.cogenit.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Spam-Status: No, hits=-0.4 required=5.0 tests=X_NOT_PRESENT,DOUBLE_CAPSWORD,SUPERLONG_LINE version=2.30 X-Spam-Level: X-Archive-Number: 200207/6 X-Sequence-Number: 1837 Hi all, I installed openldap, postgres, and I wanted to link the two of them. So I re-confiured both using the with-odbc option. then, I installed the ODBC package, firs the source, then as some things went wrong, i thought I had done something wrong with installation, so I re-installed everything, with RPMs. filled my odbc.ini file : ; ; odbc.ini ; [ODBC Data Sources] test=template1 [test] Driver=/usr/lib/libpsqlodbc.so Description=Sample PostgreSQL DSN DSN=template1 Servername=192.168.4.20 username=postgresql password=secret Database=PostgreSQL Readonly=No ;Servertype=postgres Port=5432 FetchBufferSize=99 ;ServerOptions= ;ConnectOptions= ;Options= ;Readonly=no ;Trace=1 [Default] Driver=/usr/lib/libpsqlodbc.so [ODBC] InstallDir= /usr/lib/libiodbc.so and I checked the libpsqlodbc.so and libiodbc.so existed, and were in the good path. When I first launched an ldconfig after my installation, I had a error message saying there one of the libpsqlodbc lib, libpsqlodbc.so.0 (I had three : libpsqlodbc.so, libpsqlodbc.so.0, and libpsqlodbc.so.0.27), was not a symbolic link. so, I turned libpsqlodbc.so and ibpsqlodbc.so.0 into symbolic links to now point to libpsqlodbc.so.0.27. After all that, I launched an odbctest, but, when I do that, I have no DSN available in the array, though I added one in the odbc.ini.. Is there something I forgot to do? Thanks for your help, -- Annissa, The computer slayer