Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id BC0021B5234B for ; Wed, 23 May 2012 11:19:11 -0300 (ADT) Received: from mail-pb0-f46.google.com ([209.85.160.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SXCP7-0003tT-29 for pgsql-odbc@postgresql.org; Wed, 23 May 2012 14:19:10 +0000 Received: by pbbrp8 with SMTP id rp8so9950795pbb.19 for ; Wed, 23 May 2012 07:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=NR3DvTalouYrpIG4DgUGNxSNesyOvUcUuLfb36GMPvk=; b=KFpZHbd7er+HBRTVDtrUSgF6wCdzPBQjq47UxJ/6jMgFkdKKdu5xjo4wpdzmCjGQPk mC80HmqoSe4pkbGzlfb/shDUJNEkCGIniPJLACMhNaXNmmngAreHrw/ngyXCwsuW1E0L GlyqoNrUT5B7SZM6bDGy2Ro+LIVOZvDT8iSs3K2D2vSgRKeRXbenlqbzeEALRQZ8Jhm1 Ok/0/2UW4y4NfOq4mW1o6yqo85I9PI91ewq7czhsY62zVRxZacyY6NmpNV8Z66EUQo2E pfq5qoLxUg2EZnhzGk3g24En8W6qlYTh2r17z8XnPd39wpVlDZHbdiAQPwMzS/1o4eUb L6GQ== Received: by 10.68.125.138 with SMTP id mq10mr11301157pbb.25.1337782735151; Wed, 23 May 2012 07:18:55 -0700 (PDT) Received: from [192.168.0.3] (c-24-17-164-54.hsd1.wa.comcast.net. [24.17.164.54]) by mx.google.com with ESMTPS id b10sm1988144pbr.46.2012.05.23.07.18.48 (version=SSLv3 cipher=OTHER); Wed, 23 May 2012 07:18:53 -0700 (PDT) Message-ID: <4FBCF1A9.1000704@gmail.com> Date: Wed, 23 May 2012 07:18:17 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Joe Tseng CC: pgsql-odbc@postgresql.org Subject: Re: Configure script unable to find PgSQL dir References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201205/12 X-Sequence-Number: 10850 On 05/23/2012 06:56 AM, Joe Tseng wrote: > I'm attempting to compile and install this from source but I'm getting a > "library not found" error: > > # ls -l /export/appl/pkgs/pgsql > total 4 > lrwxrwxrwx 1 root other 6 May 23 09:29 latest -> v9.1.3 > drwxr-xr-x 6 root other 512 May 8 16:02 v9.1.3 > > ./configure \ > --prefix=/export/appl/pkgs/psqlodbc/v09.01.0100 \ > --with-libpq=/export/appl/pkgs/pgsql/latest \ > --with-unixodbc=/export/appl/pkgs/unixodbc/latest \ > --enable-unicode \ > --host=sparc-sun-solaris2.10 \ > --disable-openssl > ... > checking for PQconnectdb in -lpq... no > configure: error: libpq library not found > > I also configured using --without-libpq and the package was made and > installed correctly, but I don't think it knows how to connect: > > # ./isql pidcim11 odbcuser xxx > [ISQL]ERROR: Could not SQLConnect > > If this is not the right address to ask questions is there a forum that > I can post my problem to? My guess is you do not have the Postgres dev libraries for libpq. That the libpq you are pointing at is the client binary. Verify whether you have postgresql-dev(or equivalent) installed. > > thx, > > - Joe > > > If you type "Google" into Google , > you can break the Internet. -- Jen Barber -- Adrian Klaver adrian.klaver@gmail.com