X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B80289DCC8E for ; Mon, 6 Mar 2006 14:07:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69843-04 for ; Mon, 6 Mar 2006 14:07:50 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.176]) by postgresql.org (Postfix) with ESMTP id AF1A09DCCFF for ; Mon, 6 Mar 2006 14:07:48 -0400 (AST) Received: by pproxy.gmail.com with SMTP id i75so818045pye for ; Mon, 06 Mar 2006 10:07:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RuziLxM3hevmOPczhcluUsvAxCFNNu5HVIS6ZhVe5xt8RGbq4RGmjowteQQ1+LzNMkZYsH69dbRQhVaWjxPlfLB8urPVS4jhZbTMxpaTXnN2wxwzKI5sLKph3Nvdo3aotyrqbez2ReytmXt3Pjj+AAFU/Qlm4TV58sXV+sRgJCk= Received: by 10.65.126.5 with SMTP id d5mr2746743qbn; Mon, 06 Mar 2006 10:07:48 -0800 (PST) Received: by 10.65.59.18 with HTTP; Mon, 6 Mar 2006 10:07:48 -0800 (PST) Message-ID: <2ad57ca00603061007s1c5a16ebh@mail.gmail.com> Date: Tue, 7 Mar 2006 02:07:48 +0800 From: "Lee Rubao" To: "Hiroshi Saito" Subject: Re: building psqlodbc-07.03.0260 failed: "no suitable ODBC driver manager found" Cc: pgsql-odbc@postgresql.org In-Reply-To: <061701c64144$238b6f80$01324d80@hiroshi5jz7dqj> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5946_15508355.1141668468415" References: <2ad57ca00603060836n6713fdbbv@mail.gmail.com> <05a101c6413f$f6380790$01324d80@hiroshi5jz7dqj> <061701c64144$238b6f80$01324d80@hiroshi5jz7dqj> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.442 required=5 tests=[AWL=0.441, HTML_MESSAGE=0.001] X-Spam-Score: 0.442 X-Spam-Level: X-Archive-Number: 200603/30 X-Sequence-Number: 7316 ------=_Part_5946_15508355.1141668468415 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you. I finished the compilation with LDFLAGS =3D -L/usr/local/lib. 2006/3/7, Hiroshi Saito : > > > > I have already installed unixODBC-2.2.11 which is working well on my > > > machine. > > > > > > But ,what is the problem of building psqlodbc and how can i fix it? > > > > Umm, Is the directory which you installed contained in path? > > Although odbc_config shows the place, is there? > > or place of libodbcinst.a.... > > configure looks for SQLGetPrivateProfileString of odbcinst. > > Ahh, Some supplement. > Please see CONFIG_sample.txt > > CPPFLAGS=3D"-I/usr/local/include -I/usr/local/pgsql/include > -I/usr/include/openssl" > LDFLAGS=3D"-L/usr/local/lib -L/usr/local/pgsql/lib" > export CPPFLAGS LDFLAGS > configure --enable-unicode --with-unixodbc --with-odbcver=3D0x0300 > --enable-pthreads > > Furthermore, Please check of LD_LIBRARY_PATH at the time of execution. > > Regards, > Hiroshi Saito > > ------=_Part_5946_15508355.1141668468415 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you. I finished the compilation with LDFLAGS =3D -L/usr/local/lib.
2006/3/7, Hiroshi Saito <saito@inetrt.skcapi.co.jp>:
> > I have = already installed unixODBC-2.2.11 which is working well on my
> > = machine.
> >
> > But ,what is the problem of building psqlodbc an= d how can i fix it?
>
> Umm, Is the directory which you install= ed contained in path?
> Although odbc_config shows the place, is ther= e?
> or place of libodbcinst.a....
> configure looks for SQLGetPr= ivateProfileString of odbcinst.

Ahh, Some supplement.
Please see = CONFIG_sample.txt

CPPFLAGS=3D"-I/usr/local/include -I/usr/local= /pgsql/include -I/usr/include/openssl"
LDFLAGS=3D"-L/usr/local/lib -L/usr/local/pgsql/lib"
export= CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbc= ver=3D0x0300 --enable-pthreads

Furthermore, Please check of LD_LIBRA= RY_PATH at the time of execution.

Regards,
Hiroshi Saito


------=_Part_5946_15508355.1141668468415--