X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4750352D26 for ; Thu, 11 Aug 2005 17:08:58 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38481-03 for ; Thu, 11 Aug 2005 20:08:56 +0000 (GMT) Received: from mx02.kabsi.at (mx02.kabsi.at [62.40.128.130]) by svr1.postgresql.org (Postfix) with ESMTP id ADF4652CB6 for ; Thu, 11 Aug 2005 17:08:54 -0300 (ADT) Received: from [192.168.0.5] (h062040243020.plc.cm.kabsi.at [62.40.243.20]) by mx02.kabsi.at (8.13.3/8.13.3) with ESMTP id j7BK8mK4026066 for ; Thu, 11 Aug 2005 22:08:50 +0200 Message-ID: <42FBB04E.1090503@cybertec.at> Date: Thu, 11 Aug 2005 22:08:46 +0200 From: =?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: troubles with configure script on solaris ... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=[AWL=0.011] X-Spam-Level: X-Archive-Number: 200508/111 X-Sequence-Number: 5750 when testing the ipv6 patch for the most recent version of the odbc driver I came across a problem with the configure script on Solaris 9: [postgres@unknown psqlodbc-08.00.0102_64]$ CFLAGS='-I/platdb/odbc64/include/' LDFLAGS='-L/platdb/odbc64/lib' ./configure --prefix=/tmp checking for a BSD-compatible install... /opt/sfw/bin//ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc checking for SQLGetPrivateProfileString in -lodbcinst... no checking for SQLGetPrivateProfileString in -liodbcinst... no configure: error: no suitable ODBC driver manager found i am trying to compile the code with the command line shown above. however, the unix odbc driver manager is not found although it has been installed properly: [postgres@unknown psqlodbc-08.00.0102_64]$ ls -l /platdb/ .profile .tstfile odbc32 odbc64 [postgres@unknown psqlodbc-08.00.0102_64]$ ls -l /platdb/odbc64/lib/libodbc libodbc.la libodbcdrvcfg1S.so.1.0.0 libodbcinst.so.1 libodbcnnS.so libodbcpsqlS.so.1 libodbc.so libodbcdrvcfg2S.la libodbcinst.so.1.0.0 libodbcnnS.so.1 libodbcpsqlS.so.1.0.0 libodbc.so.1 libodbcdrvcfg2S.so libodbcminiS.la libodbcnnS.so.1.0.0 libodbctxt.la libodbc.so.1.0.0 libodbcdrvcfg2S.so.1 libodbcminiS.so libodbcpsql.la libodbctxt.so libodbccr.la libodbcdrvcfg2S.so.1.0.0 libodbcminiS.so.1 libodbcpsql.so libodbctxt.so.1 libodbccr.so libodbcextras.la libodbcminiS.so.1.0.0 libodbcpsql.so.1 libodbctxt.so.1.0.0 libodbccr.so.1 libodbcextras.so libodbcmyS.la libodbcpsql.so.1.0.0 libodbctxtS.la libodbccr.so.1.0.0 libodbcextras.so.1 libodbcmyS.so libodbcpsql.so.2 libodbctxtS.so libodbcdrvcfg1S.la libodbcextras.so.1.0.0 libodbcmyS.so.1 libodbcpsql.so.2.0.0 libodbctxtS.so.1 libodbcdrvcfg1S.so libodbcinst.la libodbcmyS.so.1.0.0 libodbcpsqlS.la libodbctxtS.so.1.0.0 libodbcdrvcfg1S.so.1 libodbcinst.so libodbcnnS.la libodbcpsqlS.so [postgres@unknown psqlodbc-08.00.0102_64]$ ls -l /platdb/odbc64/lib/libodbcinst.so lrwxrwxrwx 1 postgres postgres 20 Aug 11 15:17 /platdb/odbc64/lib/libodbcinst.so -> libodbcinst.so.1.0.0 my compile script works perfectly well with the older odbc driver (7). i have seen that some code has been changed inside the build script. maybe somebody can point me to a fix. best regards, hans -- Cybertec Geschwinde & Schönig GmbH Schöngrabern 134; A-2020 Hollabrunn Tel: +43/1/205 10 35 / 340 www.postgresql.at, www.cybertec.at