Re: can not configure in centos 6 x64

Lists: pgsql-odbc
From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: can not configure in centos 6 x64
Date: 2012-06-18 09:20:57
Message-ID: 1340011257801-5713062.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

Hi

In centos 6.2 x64 with postgresql 9.1.4 x64 when I try to ./configure
psqlodbc-09.01.0100

I get this error :

PQconnectdb in -lpq... no
configure: error: libpq library not found

I think libpq has currently installed.

can help me.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Maziar Navahan <mnavahan(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 09:55:36
Message-ID: 1340013336.13105.2.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc


Hi,

On Mon, 2012-06-18 at 02:20 -0700, Maziar Navahan wrote:
>
> In centos 6.2 x64 with postgresql 9.1.4 x64 when I try to ./configure
> psqlodbc-09.01.0100
>
> I get this error :
>
> PQconnectdb in -lpq... no
> configure: error: libpq library not found

Is PostgreSQL installed from community RPMs? If so, you will need to
pass

--with-libpq=/usr/pgsql-9.1

to the configure script -- or you can install ODBC driver using yum again.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz


From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 10:07:24
Message-ID: 1340014044963-5713071.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

the

./configure --with-libpq=/usr/pgsql-9.1
./configure --with-libpq=/usr/pgsql-9.1/lib
./configure --with-libpq=/usr/pgsql-9.1/bin

not help me ! the same error ocuured

but /usr/psql-9.1 is present :
[root(at)localhost pgsql-9.1]# ls
bin include lib share

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713071.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Maziar Navahan <mnavahan(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 12:09:25
Message-ID: 7016.1340021365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

Maziar Navahan <mnavahan(at)gmail(dot)com> writes:
> the
> ./configure --with-libpq=/usr/pgsql-9.1
> ./configure --with-libpq=/usr/pgsql-9.1/lib
> ./configure --with-libpq=/usr/pgsql-9.1/bin

> not help me ! the same error ocuured

Another likely possibility is you forgot to install the -devel
subpackage?

regards, tom lane


From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 13:16:17
Message-ID: 1340025377414-5713089.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

what mean -devel subpackage ?

can give me complete requirement package name ?

i currenly install :
yum groupinstall "Development Tools"
yum install postgresql91 postgresql91-devel postgresql91-server
postgresql91-libs postgresql91-contrib

THX

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713089.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Maziar Navahan <mnavahan(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 13:27:32
Message-ID: 1340026052.14698.7.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc


Hi,

On Mon, 2012-06-18 at 06:16 -0700, Maziar Navahan wrote:

> can give me complete requirement package name ?
>
> i currenly install :
> yum groupinstall "Development Tools"
> yum install postgresql91 postgresql91-devel postgresql91-server
> postgresql91-libs postgresql91-contrib

yum -y install postgresql91-devel

is what you need.

Again, yum install postgresql91-odbc will give you the ODBC binary, you
don't need to compile.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz


From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-18 13:54:23
Message-ID: 1340027663648-5713096.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed and
latest version
Nothing to do

1. i need compile because need change some

--with-unixodbc=DIR path or direct odbc_config file (default:yes)
--with-iodbc=DIR path or direct iodbc-config file
--with-odbcver=VERSION change default ODBC version number [0x0351]
--enable-pthreads (thread-safe driver on some platforms)
--disable-unicode (build non-Unicode driver)
--disable-openssl (build non-OpenSSL driver)

for ex: i need change --enable-pthreads --with-iodbc

2. current version have some problem and not stable ?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713096.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


From: Honza Horak <hhorak(at)redhat(dot)com>
To: Maziar Navahan <mnavahan(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-22 07:44:19
Message-ID: 4FE42253.2050608@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

On 06/18/2012 03:54 PM, Maziar Navahan wrote:
> Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed and
> latest version
> Nothing to do

Then you should have also /usr/pgsql-9.1/bin/pg_config, which is part of
postgresql91-9.1.4-1PGDG package. So you can check if it returns sane
settings and then try to use that directly:

$ ./configure --with-libpq=/usr/pgsql-9.1/bin/pg_config

Any progress?

Honza


From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-22 12:06:00
Message-ID: CAE5vsJca1az0FFHNMs-u0xCB2=mX42s1PL0FqbK+0cdBdrQc7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

hi

go to test ....

On Fri, Jun 22, 2012 at 12:15 PM, Honza Horak [via PostgreSQL] <
ml-node+s1045698n5713875h65(at)n5(dot)nabble(dot)com> wrote:

> On 06/18/2012 03:54 PM, Maziar Navahan wrote:
> > Package postgresql91-devel-9.1.4-1PGDG.rhel6.x86_64 already installed
> and
> > latest version
> > Nothing to do
>
> Then you should have also /usr/pgsql-9.1/bin/pg_config, which is part of
> postgresql91-9.1.4-1PGDG package. So you can check if it returns sane
> settings and then try to use that directly:
>
> $ ./configure --with-libpq=/usr/pgsql-9.1/bin/pg_config
>
> Any progress?
>
> Honza
>
> --
> Sent via pgsql-odbc mailing list ([hidden email]<http://user/SendEmail.jtp?type=node&node=5713875&i=0>)
>
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-odbc
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713875.html
> To unsubscribe from can not configure in centos 6 x64, click here<http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5713062&code=bW5hdmFoYW5AZ21haWwuY29tfDU3MTMwNjJ8LTE1MDk2NDUxODM=>
> .
> NAML<http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713887.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


From: Maziar Navahan <mnavahan(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: can not configure in centos 6 x64
Date: 2012-06-22 12:17:38
Message-ID: 1340367458684-5713889.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

Work !

--
View this message in context: http://postgresql.1045698.n5.nabble.com/can-not-configure-in-centos-6-x64-tp5713062p5713889.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.