Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5a0n-0005XY-Nx for pgsql-odbc@arkaria.postgresql.org; Thu, 18 Jun 2015 13:37:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5a0n-0001EX-35 for pgsql-odbc@arkaria.postgresql.org; Thu, 18 Jun 2015 13:37:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5a0m-0001EQ-4e for pgsql-odbc@postgresql.org; Thu, 18 Jun 2015 13:37:44 +0000 Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z5a0i-0002oX-Pf for pgsql-odbc@postgresql.org; Thu, 18 Jun 2015 13:37:42 +0000 Received: by iebgx4 with SMTP id gx4so54690714ieb.0 for ; Thu, 18 Jun 2015 06:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=0U2oIfEDggWIVLksygf+hnVFaWMteFSyMAzZ0d9kdyc=; b=tgasS5Yr1KdxfpDtxMkYcu2hvw3VtEdDDSvETmYWLYqoQwCMOKegRCjNiYgc4wtt3A QPgC475fas0OHhkFfjWw8DKs1Rmu3RUs+JM7yzMtNzWrTNeFSuQs7nCAX4gOL4rnk/CI AK5Pxo01ZhmPkyKjvchAB+6iLGaSGCGVwfctLzM3spuTfcGhLTQ4B2itaJUG81kInqTB KAIJA5662JBMrIAbdlwpUABYi6crImsYFHUbQFklv1hiozUUtPpAQem56bSlCoeUNhP9 z94Ls8O/gT4FckMkpK++EnfDlvSIbIKzcho1mRl3Yy9N26vQGY5zcok67vCNB96Gw05r bPZQ== X-Received: by 10.50.138.70 with SMTP id qo6mr41578003igb.15.1434634659741; Thu, 18 Jun 2015 06:37:39 -0700 (PDT) Received: from [10.65.209.95] ([137.122.64.67]) by mx.google.com with ESMTPSA id 191sm4938119iof.18.2015.06.18.06.37.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 06:37:38 -0700 (PDT) Message-ID: <5582C99D.1010709@iki.fi> Date: Thu, 18 Jun 2015 09:37:33 -0400 From: Heikki Linnakangas Reply-To: hlinnaka@iki.fi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: intmail01@gmail.com, pgsql-odbc@postgresql.org Subject: Re: Postgresql driver for linux ODBC expect a missing pg_config file References: <5582A02E.308@gmail.com> In-Reply-To: <5582A02E.308@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/18/2015 06:40 AM, intmail01@gmail.com wrote: > I just did command ./configure and error occurs because 'libpq' is > expected. I search through the file systems and found where libpq.so.* > and libpq.a are stored. After that I did a new command like this: > ./configure --with-libpq=/opt/PostgreSQL/9.3/lib/ > > An error occurs again. The output shows last two lines : > configure: using /usr/local/include /usr/local/lib > configure: error: specified pg_config not found > > Please tell me how to continue the compilation ? > The file pg_config exists and is located in /opt/PostgreSQL/9.3/bin/ > > Note that my postgresql binaries are downloaded directly from the > official site, I did not compile it. Installation directory is > /opt/PostgreSQL/9.3 Try: ./configure --with-libpq=/opt/PostgreSQL/9.3/ or ./configure --with-libpq=/opt/PostgreSQL/9.3/bin/pg_config IIRC both of those should work. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc